Police were first called to the home in the 1800 block of 57th Street, which is next to Harte Elementary School, at about 12:50 a.m.
At least one of the men had a gun, authorities said.
The man answered a knock at his front door and was confronted by a female robber with a knife, according to authorities.
The robbery ended with a shooting at the Alamitos Beach apartment around 4 a.m. Friday, according to police. Nobody was wounded, they said.
The coroner’s office has identified a 29-year-old man shot and killed by a resident during an alleged burglary in Long Beach last Monday.
An East Long Beach couple is in stable condition Thursday after one was bound and another pistol-whipped during a violent mid-day home-invasion Wednesday.