The two were meeting when the president accidentally flubbed the tech giant's name.
"People like Tim. You are expanding all over and doing things I really wanted you to, right from the beginning. I used to say Tim, you gotta start doing it here," Trump said. "You've really put a big investment in our country. We appreciate it very much, Tim Apple."
He called him "Tim Apple."
Earlier in the meeting, President Trump did refer to Tim Cook by his correct name, and also called him a "friend."
This was at the American Workforce Policy Advisory Board meeting Wednesday.
The president has slipped before.
Last year, he referred to Lockheed Martin's CEO as "Marillyn Lockheed."
On Thursday, Cook changed the name on his Twitter account to Tim with an Apple Emoji after it, which seems to be a reference to the president's flub.
See more stories and videos related to President Donald Trump.