He published his first scientific paper in 1900, and by 1905 had completed his PhD entitled "A New Determination of Molecular Dimensions".
In addition to working on his PhD, Einstein also worked feverishly on other papers.