Will it fit the XJ. I don't know for sure, but most probably. The thing you have to find out is if the rest of the exhaust will fit it. Worst case scenario is that you have some more exhaust work to be done on the header pipe