It happened after 1 am Friday at the Windscape Apartments on Nees near Poplar Avenue.
Police say they were called to the complex to find the injured man.
He was rushed to the hospital, where he later died.
Police have not released any information about the suspect in the case or what may have led up to the gunfire.
It's believed the victim was a resident of the apartment complex.
Anyone with more information is asked to contact Fresno police.