The incident occurred at Green Cactus Collective on the 36100 block of Sierra Highway around 7 p.m.
Police say three suspects that targeted the business were wearing ski masks. An exchange of gunshots was reported.
The security guard was shot several times and rushed to a local hospital. He is expected to survive.
No arrests have been made. No information on the suspects was released.
Anyone with information about the incident was urged to contact the Palmdale Sheriff's Station at (661) 272-2400.