Titanium carbonitride (TiCN) coating was prepared on 45# carbon steel by electrical discharge coating (EDC), and the compositions, morphology and microstructure of the coating were studied. In addition, its friction and wear behaviors relative to the physical vapor deposition (PVD) TiN coating were investigated. The results show that the TiCN coating features a thickness of 15 μm with a primary phase of TiC0.3N0.7. The wear rates of the two coatings have no clear distinction at low applied loads. However, severe abrasive wear appears in the PVD TiN coating when the applied load exceeds 30 N, while the TiCN coating features better wear resistance. The abrasive wear with coating peelings is found to be the predominant wear mechanism at high applied loads.