Yabba dabba d’oh! Actor Stephen Baldwin was arrested in Harlem for making an illegal U-turn and driving without a license, police said yesterday.

The “Flintstones in Viva Rock Vegas” star — he played Barney — was behind the wheel of his 2000 Lexus SUV on West 125th Street when he was spotted making the illegal turn between Seventh and Lenox avenues, cops said.

When police pulled him over and questioned him shortly after 5 p.m. Thursday, they discovered he was driving with a suspended license, authorities said. It’s not known why his license had been lifted.

The youngest of the Baldwin-brothers acting clan was taken to the 28th Precinct station house, where he was given a desk-appearance ticket for aggravated unlicensed operation of a motor vehicle and making an illegal U-turn. He’s due to appear in court on Oct. 1.