The boy’s got soul.

One Direction heartthrob Harry Styles was spotted burning calories at SoulCycle in Soho on Friday morning. Wearing a sleeveless T-shirt and carrying a Gatorade towel, the singer, 20, was accompanied by an unknown short bald man at the popular spin class.

“He was wearing a hat and sunglasses when he walked in,” a source told Page Six, adding that when the class kicked off, Styles “pulled his hair back in a top knot.”

Styles is currently on the US leg of the “Where We Are” tour with the rest of One Direction. The group played MetLife Stadium in New Jersey last week.

Although Styles was “no superstar” in comparison to other cyclists, the Brit gave the 45-minute session his all, staying until the end.

“He seemed to be having fun! Not too serious nor showboaty,” our source said.

The rest of class, including the instructor, played it cool — no one approached the “Story of My Life” singer.

“Missed opportunity by the teacher to play [Taylor Swift’s allegedly Styles-inspired song] ‘I Knew You Were Trouble,’ ” the source noted.

A SoulCycle devotee, Styles was spotted at a class on Monday while visiting the nation’s capital.