Interlayer swelling of hydrated montmorillonite is an important issue in clay mineralogy. Although the swelling behavior of montmorillonite under ambient conditions has been investigated comprehensively, the effects of basin conditions on the hydration and swelling behaviors of montmorillonite have not been characterized thoroughly. In the present study, molecular dynamics simulations were employed to reveal the swelling behavior and changes in the interlayer structure of Namontmorillonite under the high temperatures and pressures of basin conditions. According to the calculation of the immersion energy, the monolayer hydrate becomes more stable than the bilayer hydrate at a burial depth of 7 km (at a temperature of 518 K and a lithostatic pressure of 1.04 kbar). With increasing burial depth, the basal spacings of the monolayer and bilayer hydrates change to varying degrees. The density-distribution profiles of interlayer species exhibit variation in the hydrate structures due to temperature and pressure change, especially in the structures of bilayer hydrate. With increasing depth, more Na+ ions prefer to distribute closer to the clay layers. The mobility of interlayer water and ions increases with increasing temperature, while increasing pressure caused the mobility of these ions to decrease.