Gomez has represented Spain at every age level from under-16 to under-21
Manchester City have agreed a fee of 13 million euros (£11m) plus add-ons with Anderlecht for Spain Under-21 international defender Sergio Gomez.
City were looking at left-sided options after failing to complete a deal for Brighton's Marc Cucurella, who joined Chelsea last week for £62.5m.
If not promoted to the first team squad, Gomez could be loaned to City Football Group club Girona in Spain.
He came through the Barcelona academy before joining Borussia Dortmund.
Gomez, 21, then spent two years on loan at Huesca in 2019, before joining Anderlecht where he played under former City skipper Vincent Kompany.
- You can now get Man City news notifications in the BBC Sport app - find out more
- Our coverage of Manchester City is bigger and better than ever before - here's everything you need to know to make sure you never miss a momentEverything City - go straight to all the best content