Rapper Mac Miller. Photo by Owen Sweeney/Invision/AP

Mac Miller's dead body reportedly lay undiscovered for hours before police and paramedics arrived at his house.

The 26-year-old rapper's body was discovered by police and paramedics in the bedroom of his San Fernando Valley home around midday on Friday (07.09.18) but sources told TMZ it was clear he had passed away from an apparent overdose long before they arrived.

The night before Mac was discovered, he had had friends over to the house to hang out, and they left in the early hours of the Friday morning, with police revealing no one has come forward to say they had seen him alive after that night.

A call to emergency services said the 'Self Care' hitmaker had suffered a cardiac arrest, but it's believed that the person who found him may not have realised he was already dead.

It was previously claimed Mac's California home had been "swept clean" so there would be no evidence of drug use.

Police searching for clues were said to have found only a small amount of white powder at the property.

Earlier this week, the rapper's body was released to his family after an autopsy on his remains was completed, though an official cause of death has not yet been confirmed.

Los Angeles County coroner's spokeswoman Sarah Ardalani said: "The autopsy was completed and a cause of death has been deferred pending additional tests. His body has been released."

A cause of death won't be announced until test results are released, and that could take anything from a few weeks to months, the spokesperson confirmed.

Now Mac's body has been released, his funeral will be able to take place.

Though it's currently unclear when that will happen, the 'Dang!' star was raised in the Jewish faith, where it is preferred to have burial take place in as short an interval of time after death as possible.