Aaron Carter has revealed he managed to gain 45lbs through a strict ''detox'' when he entered rehab earlier this year.

The 29-year-old singer entered a rehabilitation centre earlier this year where he completed two months of treatment aimed at improving his ''overall health'' after he fell to a ''super malnourished'' 115lbs in weight.

And he has now admitted that with the help of Alo House in Malibu, California, he was able to put on 45lbs in under 50 days, by eating right and sorting through other long-standing mental health problems.

He revealed: ''Well, I struggled from an eating disorder, so I had seven ulcers. I was, like, 115 pounds, super malnourished.

''It was tough, you know, it was tough a bit on myself, but the Alo House where I went was incredible. They helped figure it out for me what was going on with me, and there are other things going on, like, I suffer from PTSD. I have a lot of trauma from my past and a lot of loss, so that's something I have to deal with on a daily basis.

''I did detox and through that detox, I gained, like, two pounds every day. Twenty-eight percent of body weight I gained. ... I took a break, and figured out what was going on in my mind, and the things that were really festering up and bothering me. I'm still figuring those things out.''

The 'I Want Candy' hitmaker also revealed he used to edit photos of himself to make him look ''bigger'', as his dangerously skinny physique had caused him to develop ''body dysmorphia''.

He added to 'Entertainment Tonight': ''I had body dysmorphia too, because I was so skinny. So, I would use those face-tuning apps and things like that to just to try to like make myself look bigger. I finally looked at these two [before and after] pictures and it was crazy the amount of weight [I gained]. I can even flex my abs right now.''

Aaron left rehab last month after completing two months of treatment, and previously took to Instagram to share his pride at his impressive weight gain and health improvements.

He wrote: ''This is my before and after pics. I went from 115 to 160 pounds in two months I feel amazing. 2018 I'm ready for you!! (sic)''