Dermatosis papulosa nigra is not a contagious skin condition. Although it is not entirely understood why it occurs, DPNs are largely akin to freckles or a common mole. Their location is random, more of them can appear as you age, and there seems to be a genetic component to their appearance.