At the opening of the inquest into the death of Peaches Geldof, Detective Chief Inspector Paul Fotheringham, of the Kent and Essex Serious Crime Directorate, said a post-mortem examination was inconclusive, prompting further tests.
But he told the hearing: "Recent use of heroin and the levels identified were likely to have played a role in her death."
Her mother, TV presenter and writer Paula Yates, died from an accidental heroin overdose at her London home 14 years ago.
More top news
A humid night for some with thundery downpours in places.
The 20-year-old was found fatally wounded on Roth Walk, near Finsbury Park, north London at around 3am on Saturday, Scotland Yard said.
Daniel Cowell has been jailed for five years and four months after ramming a police patrol car with a stolen transit van.