A fractional Burgers equation with variable coefficients is studied, which can describe heat conduction in nanomaterials with intermittent property. The equation is solved analytically by Daftardar-Gelii-Jafaris method.