Wearing earplugs while swimming is not necessary for everyone. However, if you are prone to ear infections or discomfort due to water entering your ears, wearing earplugs can help prevent such issues.