This engine does not fit the XJ. It fits: 1999-2004 Grand Cherokee and 2000-2006 Wrangler