Anthony Rizzo is in the middle of an ill-timed power drought.

The first baseman, who hasn’t homered since he went deep in back-to-back games on May 23-24 in Cincinnati, went hitless from the leadoff spot in the Yankees’ 6-3 loss to the Orioles on Wednesday in The Bronx.

“When you’re off mechanically, it sucks,’’ Rizzo said. “You fight for it and it comes back in a swing.

“You want to help the team win, and when you don’t, it’s frustrating.”

Manager Aaron Boone said he believed the slugger’s lack of power stemmed from his neck injury earlier in the season, but Rizzo disagreed.