Diffusion Current in the PN junction

When the PN junction is formed, there is movement of the charge carriers across the junction.  The electrons move from the N material across the junction into the P material.  The holes from the P material cross into the N junction.

This movement of charge carriers results in a current across the junction. 

This current is known as diffusion current.  This current occurs in the absence of potential.