Most in-wall speakers require 3 ½” of depth and most in-ceiling speakers need 5” or more behind the drywall for proper installation, but be sure to check the specifications on your speakers to verify.