In the effective potential approach, we study the gauge-dependance of critical temperature and higher-order contribution in the unitary gauge. By using the temperature-dependent mass on the mass-shell, we show that the critical temperature is gauge-independent. We concentrate our analysis on the abelian Higgs model.