The Nifty closed 0.2% or 42 points higher at 25,725 and the Sensex ended 173.81 points higher at 83,450.96.