Based on the density functional theory (DFT), the lattice constants and atomic positions of BiOX (X = E Cl, Br, I) species have been optimized, and the electronic and optical properties of the relaxed species have been calculated, with Bi 5d states considered or not. Relaxation generally results in the shrinkage in a and the expansion of c. Relaxed BiOCl, BiOBr, and BiOI present indirect band gaps, whereas BiOF exhibits a direct or somewhat indirect band-gap feature corresponding to the relaxation and calculation with the Bi 5d states or not. The bottom of the conduction band is quite flat for relaxed BiOI, and apparently flat in BiOBr, and shows observable flatness in BiOCl as well when considering the Bi 5d states. The top of the valence band is rather even as well for some species. The obtained maximum gaps for relaxed BiOF, BiOCI, BiOBr, and BiOI are 3.34, 2.92, 2.65, and 1.75 eV, respectively. The density peak of X tip states in the valence band shifts toward the valence band maximum with the increasing X atomic number. The bandwidths, atomic charges, bond orders. and orbital density have also been investigated along with some optical properties. (C) 2008 Wiley Periodicals, Inc. J Comput Chem 30: 1882-1891, 2009