The city's council has been given planning approval to upgrade and extend Pentre'r Graig Primary School.
The school will be refurbished and an old demountable building will be torn down. The cost is being split between the council and the Welsh government.
Cabinet member for education Jen Raynor, said: "It has been designed with children and how they best learn in mind."
Work is set to get under way on a £2.7m renovation of a Swansea primary school.