Josh Brolin has admitted to experimenting with heroin.

The 'Men In Black 3' actor has opened up on his past struggles with the ''horrible'' class A drug admitting that while he never became addicted to the substance, he has 19 friends who have all died after overdosing on the drug.

Josh told The Guardian newspaper: ''I tried heroin. That sounds so horrible when you put it like that. But yeah, I tried heroin.

''I mean, I never got into it and I never died from it, which is a good thing, but I've had 19 friends who died. Most of those guys I grew up with, they're all dead now.''

The 46-year-old actor admits he used to be open to experimenting with different drugs, in a bid to live life to the fullest, however he now regrets putting his life in danger.

Josh explained: ''I used to think you should try to deconstruct everything. Experience everything. Just get yourself out there. But I don't believe that any more. Having adventures is all very well, but an imagination can make up for all that. That's the more intelligent way to be. And it keeps you out of harm's way.''

Brolin also opened up about being arrested for public intoxication on New Year's Day 2013 and the subsequent break-up of his marriage with Diane Lane.

He mused: ''It was another turning point.But I realized that I was on a destructive path. I knew that I had to change and mature.''