The singer attended Kylie Jenner's 18th birthday party at The h.wood Group's Bootsy Bellows on Sunday night in Los Angeles.
Dressed in jeans, a white T-shirt, and a blue camouflage jacket, the 22-year-old enjoyed the star-studded festivities, which included the Jenner and Kardashian families.
"Zayn arrived around midnight with an entourage of friends just so he could say hi to Kylie and wish her a happy birthday in person," an onlooker tells PEOPLE.
"He went straight to her table when he entered the venue and didn't really give anyone else much attention. He had one goal and that was to get to her table. He hung out with her for awhile then left the club shortly thereafter."
After several years together, Malik and Edwards, 22, recently called off their engagement.
Zayn's Best Moments with One Direction
Since the split, Malik has kept busy, Tweeting about being back in the studio working on music.
His trip to the West coast seems to be helping his upbeat attitude.
"Been an amazing day today ! Love LA love the weather, love all of you life is good," he wrote on Sunday.
Been an amazing day today ! Love LA love the weather, love all of you life is good— zayn (@zaynmalik) August 10, 2015
Reporting by MELODY CHIU