Yes, clownfish absolutely need to live in saltwater. They are marine fish, meaning they live in the ocean, which is saltwater.
It is important to note that clownfish cannot survive in freshwater. They require the specific salinity (salt content) and other characteristics of saltwater to thrive.