The aim of this work is to study the global stability for some diffusion equations in biology by constructing Lyapunov functionals. These Lyapunov functionals are obtained from those for ordinary differential equations. Several examples from virology and epidemiology are given to illustrate our method.