After fleeing a nearby rehab facility two days earlier, authorities found Margera hiding out in a Florida hotel room.
"Jackass" alum was cooperative and cooperative when he was picked up by police and a crisis team, TMZ reports.
Margera, 42, quit his court-ordered program on Monday because he was unhappy with the restrictions.
In contrast to other rehabs, he did not get the celebrity treatment he got in other rehabs, sources told the outlet.
The "Jackass" alum posted a photo on Instagram.
On the day Margera escaped, he posted a selfie with his wife Nicole Boyd, and Machine Gun Kelly on social media.
In an Instagram post on Tuesday, he posed with his "new sponsor."
Margera was in rehab after a disturbance at a Florida hotel last year.
In September, when deputies arrived, they discovered Mr. Margera had an ex parte order, a court-ordered rehabilitation.
Her lawsuit was settled in April with co-stars Johnny Knoxville and Spike Jonze.