Getty / Shutterstock Composite

Machine Gun Kelly is spilling the tea on his split from Megan Fox in a new track ... and he’s admitting he made a mess that landed him a secret stay in rehab.

On MGK's raw track "Treading Water" from his latest album "Lost Americana," he drops some brutal lines like, "This’ll be the last time you hear me say sorry, That’ll be the last tear you waste on me crying, I broke this home."

Machine also belts out, "The beast killed the beauty; the last petal fell from the rose," before going full confessional, describing packing his bags and spending Christmas in "Room Three" at rehab. Gallery Launch Gallery Getty

While MGK doesn’t drop Megan’s name, it’s crystal clear he’s talking about her -- and their 4-month-old child, Saga Blade Fox-Baker ..

See Full Page