Born in Milan, Castellazzi spent his entire club career in the 1920s and 1930s playing for Ambrosiana-Inter in Serie A. He played 261 match in all competitions for the team, scoring 16 goals, helping the club to win the 1929–30 Serie A championship. His club debut came on 6 October 1929, in a 2–1 away win over Livorno.