Spanish stock market index Ibex-35 rose 3.68 percent to close at 10,115.40 points.
The index was up from the 9,756.60 points of Monday when it registered the biggest fall since August 2012.
On Tuesday, Abengoa "B" shares led the rise, climbing 26.61 percent, followed by Gamesa, OHL, IAG, Tecnicas Reunidas and Inditex which rose 9.49 percent, 8.55 percent, 5.90 percent, 5.50 percent and 5.18 percent respectively, Xinhua reported.
Endesa shares climbed 0.25 percent, followed by Gas Natural, Acerinox, Bankia and Grifols at 0.89 percent, 1.16 percent, 1.47 percent and 1.74 percent respectively.
Meanwhile, Spain's risk premium stood at 138.60 points on Tuesday's close, six points down from Monday, and Spain's 10-year bond interest rate stood at 2.1 percent, showing no big difference from Monday.