A fan unit that forms part of a gases supply unit used as part of a breathing assistance system for providing heated gases to a user. The fan has an impeller surrounded by an upwardly sloped surface to facilitate improved airflow performance under surge conditions.