Ja Rule — who served two years in jail for tax evasion — made an unexpected appearance on Geoffrey Zakarian’s SiriusXM show, “Food Talk,” and dished about cooking in the can.

Zakarian was interviewing guests including Guy Fieri, Bobby Flay and Marcus Samuelsson during the New York City Wine & Food Festival when Rule rocked in. Like so many stars, Rule said he wants to write a cookbook. But in his case, all the dishes must be “microwavable.”

“He explained that while behind bars he learned to cook anything and everything in a microwave,” said a spy at the show, which airs Wednesday.

The rapper has said he cooked dishes including lasagna and cheesecake in a jail dorm rather than deigning to eat the prison grub.