The 'Firework' singer will play an intimate set at a campaign event in Milwaukee, Wisconsin on Saturday (November 3), the Journal Sentinel reports.
Obama is also expected to attend the rally, which is being held at the Delta Center.
The campaign event is being held in the final days before Obama's election showdown with Republican Mitt Romney on Tuesday (November 6).
Perry previously performed at an Obama rally in Las Vegas last week just before her 28th birthday.
She later wrote on Twitter: "So tonight was a great night! The PRESIDENT gave grandma and I unforgettable shout outs & now I am officially 28! Best. birthday. Ever."
She also headlined a fundraising concert for the US leader alongside Jennifer Hudson, Bon Jovi and Stevie Wonder in LA on October 7.
Watch Katy Perry sing at the Las Vegas rally below: