The naïve way of introducing chemical potential on the lattice leads to quadratic divergences even for free fermions. Starting from the analogy between the chemical potential and the fourth component of an abelian gauge field, a simple solution is proposed. For Wilson fermions it leads to a trivial modification of the hopping parameter of quarks propagating along the imaginary time direction.