The present invention relates to an attenuated strain of Ehrlichia canis and a vaccine comprising said attenuated strain for protection of mammals against ehrlichiosis. The invention further relates to methods of preventing ehrlichiosis and of attenuating the pathogenicity Ehrlichia canis.