Grafted polymer layers under variable solvent conditions are studied by Monte Carlo simulations using the bond fluctuation model. Structural information such as monomer density profiles, brush thickness, mean-square displacement of monomers, and positions of the monomers along the chain are obtained for temperatures above, at, and below the θ point. In particular, the scaling of the brush thickness is formulated and verified by the simulation data. At the θ point, more extensive simulations are performed to investigate the structural and dynamical properties. While the brush thickness at the θ point agrees very well with the scaling and self-consistent field predictions, the latter deviate from our results for the monomer density profile and the distribution function of the free chain ends. It is not clear whether these deviations result from our chains being too short or from a basic inadequacy of the theory. For the dynamics at the θ point, both the relaxation of the chain configurations and the meansquare time displacement of the chains are studied. The relaxation time τ for a polymer brush of chain length N and surface coverage σ are found to behave as τ ∼ N 3σb with an apparent exponent b ≃t 1.6. For poor solvent conditions below the θ point, we find that the layer (with randomly fixed grafting sites) develops considerable lateral inhomogenity in its density, which has not been predicted by previous theories.