The cartoon character who lives in a pineapple under the sea is SpongeBob SquarePants. He is the main protagonist of the Nickelodeon show of the same name. He lives in a pineapple in the underwater city of Bikini Bottom and works as a fry cook at the Krusty Krab restaurant.