He beat Andrew Doheny, Evan Geiselman and local favourite Dylan Graves in the final of the ASP 4-Star event in four-to-six foot waves at Jobos.
Thompson was trailing throughout the final, but battled back with just seconds on the clock, connecting a long right-hander to secure his maiden ASP victory.
"There were just a couple of medium range scores and I just went and sat by myself," Thompson said.
"Andrew (Doheny) got one in the end and went in to the lead and I knew I didn’t need much. I took off at the end and finally got a little bowl and had two turns. It just worked out. When they said the score I just couldn’t believe it. My brothers were running down the beach and I was just so psyched."
1 – Cody Thompson (USA) 10.10
2 – Andrew Doheny (USA) 9.96
3 – Evan Geiselman (USA) 9.83
4 – Dylan Graves (PRI) 8.96