House Majority Leader Kevin McCarthy has found the way to President Trump’s heart: Give him a jar of Starburst, the sugary multi-colored candies that kids love — but only the red and pink ones.

The California lawmaker learned about the fast-food-loving Trump’s sweet tooth while they flew together on Air Force One and the commander-in-chief reached for a bowl of Starburst — which weigh in at 31 grams of carbohydrates per serving, about the same as two pieces of bread.

“We’re there, having a little dessert, and he offers me some,” McCarthy told the Washington Post.

“Just the red and the pink. A bit later, a couple of his aides saw me with those colors and told me, ‘Those are the president’s favorites.’ ”

Though they don’t contain any actual fruit other than a dash of concentrated apple juice, the artificially colored and flavored red and pink Starburst are labeled cherry and strawberry, with the top two ingredients listed as corn syrup and sugar.

Days later, McCarthy, a fervent Trump supporter well known for his political back-slapping and ability to forge political partnerships, bought a stash of Starburst and had a staffer pick out all the red and pink ones and put them in a jar, the paper reported.

He even put his name on the jar — so the president would know where the candies came from when he reached for a handful.

Trump broke into a big grin when the package was delivered, a White House official said.

The fawning move was just one of many that McCarthy has made to ingratiate himself with the president — and prompted eye-rolling from lawmakers on both sides of the political aisle, the paper said.

McCarthy, who was in the room last week when Trump called Haiti and some African nations “shithole countries,” was with the president Sunday night at Mar-a-Lago when Trump denied that he was a racist.

Trump’s fondness for junk food is well-established.

In their recent book “Let Trump Be Trump,” former campaign staffers Corey Lewandowski and David Bossie describe the president’s favorite gut-busting meal from McDonald’s: two Big Macs, two Fish Filets and a chocolate shake.

The president also has a soft spot for Kentucky Fried Chicken — and Diet Coke — and at the White House gets a second scoop of ice cream for dessert while others get just one.