The direct replacement is 96-99.5 pathfinder's with a 3.3 engine. The xterra's with a 3.3 engine will bolt up, but the wiring harness MAY be a little shorter, (easy to change with yours) and you may have to swap your transmission's rear bell housing on to the xterra's transmission, again, easy to do...