The problem of inhomogeneous anisotropic Bianchi type-I space time with perfect fluid is considered and exact solutions to the field equations are derived when the metric potentials are functions of cosmic time only. Some physical and geometrical properties of the solutions are also discussed.