He’s going rogue.

Former Alaskan governor and onetime vice presidential hopeful Sarah Palin’s husband, Todd Palin, has filed for divorce, new court filings show.

Todd, 55, said the duo was suffering from an “incompatibility of temperament between the parties such that they find it impossible to live together as husband and wife,” according to a complaint docketed Friday in Anchorage Superior Court and obtained by The Post.

The papers don’t name the couple, but the parties — T.M.P and S.L P. — share the same initials as Todd Mitchell Palin and Sarah Louise Palin, as well as the same date of marriage: Aug. 29, 1988.

The papers mention a minor son who has the same initials and birth date as the Palins’ 11-year-old, Trig Paxson Van Palin.

The Palins intend to seek joint legal and physical custody, the filing says.

“The marital assets and debts should be divided equitably and fairly,” read the court papers, which also note it’s in the child’s interest that T.M.P. “be granted the authority to apply for [the minor child’s] annual Permanent Fund Dividend” — the annual check cut to Alaskans based on the state’s oil revenues.

The self-proclaimed “hockey mom” was elected governor of the 49th state in 2006 and shot to national prominence in 2008 when she joined Republican presidential nominee John McCain as his vice presidential candidate.

She resigned the governorship in 2009 and later that year co-authored a memoir titled “Going Rogue.”

Neither a lawyer for Todd nor a rep for Sarah immediately returned messages.