We show that each Jordan homomorphism R → R' of rings gives rise to a harmonic mapping of one connected component of the projective line over R into the projective line over R'. If there is more than one connected component then this mapping can be extended in various ways to a harmonic mapping which is defined on the entire projective line over R.