Eintein's field equations with G and Lambda both varying with time are considered in the presence of a perfect fluid for five-dimensional cosmological model in a way which conserves the energy momentum tensor of the matter content. Several sets of explicit solutions in the five-dimensional Kaluza-Klein type cosmological models G and Lambda are obtained. The diminishment of extra dimension with the evolution of the universe for the five-dimenonal model is exhibited. The physical properties of the model is exhibited. The physical properties of the models are examined.