You do not necessarily need to replace the battery when replacing the alternator on a Jeep Wrangler, but it's often recommended to check the battery's condition and charge level. If the battery is weak or has a low charge, it may not be able to provide enough power to start the engine or operate the electrical system, even with a new alternator in place.