AirPods can maintain a connection through walls, but the Bluetooth signal may become weaker and less stable due to interferences. The connection quality can get affected by the wall material, thickness, and additional nearby interferences.