The company will also link pay and benefits more to employees’ productivity rather than the inflation rate, it said in a presentation to investors in London that was posted on the company's website.
The head of the group's business in Spain, Guillermo Ansaldo, said the job cuts would allow the company to gain "flexibility".
Telefonica employs some 30,000 people in Spain out of a total global workforce of 269,000 people.
The announcement of the job cuts by the former state monopoly is grim news for a country already grappling with an unemployment rate of just over 20 per cent, the highest level in the Organisation for Economic Cooperation and Development.
Earlier this month the government lifted its forecast for unemployment this year to 19.8 per cent from 19.3 per cent previously.
"It is not a good moment to carry out staff adjustments of such a significant size," said Labour Minister Valeriano Gomez.
Telefonica also said it plans to sell "non strategic assets", mostly real estate, in the 2011-13 period worth 600 million euros ($870 million).
Telefonica posted a record 2010 net profit of 10.2 billion euros, a 30.8 per cent jump over the previous year as weakness in Spain was offset by strong growth in the rest of Europe and Latin America.
The company's revenues in Spain were down by five per cent last year.
Earlier Thursday Britain's Dixons Retail, Europe's number two electrical goods retailer which runs PC World stores, said it was closing its 34 loss-making outlets in Spain due to weak consumer demand in the country.
What the stars mean:
★ Poor ★ ★ Promising ★★★ Good ★★★★ Very good ★★★★★ Exceptional