Breathing through the nose while swimming is certainly possible; however, it's generally not recommended for most swimmers.
In many cases, breathing through the nose does not supply enough oxygen to fuel your body during a swim. Additionally, it can be difficult to inhale through your nose while performing any of the four swimming strokes, as there is often very little time available. Whether you're practicing freestyle swimming, butterfly swimming, breaststroke, or backstroke, the goal is to take a quick and efficient breath. Breathing through the nose alone usually doesn't allow enough airflow to meet your body's oxygen demands.
Exhaling through the nose, however, is highly recommended. While your face is submerged, it's important to release your breath so that when you turn your head to inhale, you can focus entirely on taking in fresh air. Trying to exhale and inhale at the same time often leads to rushed breathing and quicker fatigue.
With that being said, taking slow, controlled breaths through the nose while resting between swim sets can support recovery and help regulate your breathing.
Learning how breathing works alongside body position and stroke mechanics can make every swim feel more efficient. If you're working on your overall technique, explore our guides to swimming strokes, swimming drills, and other swim training resources for additional tips.