A teenage girl has died outside a pharmacy in Ireland after a staff member refused to give her family an EpiPen to inject her for a nut allergy because she didn't have a prescription.

Emma Sloan, 14, was out for dinner in Dublin with her family when she accidentally ingested a sauce containing nuts that she mistook for curry, the Irish Herald reported.

Emma Sloan died from a peanut allergy when a pharmacy refused to give her mother an EpiPen without a prescription. Credit:Facebook

The teenager suffered a severe allergic reaction but was not carrying an EpiPen, which delivers a shot of adrenaline that can reverse the effects of a severe, fast-acting reaction known as anaphylactic shock.

The family went to a nearby pharmacy and pleaded for an EpiPen but Emma's mother, Caroline Sloan, said a male staff member refused to give them one without a prescription.