Aer Lingus and Spanish national carrier Iberia will codeshare on flights between Ireland and Spain, from April 1.
Aer Lingus will operate a daily flight to Madrid, while Iberia will also fly daily to Madrid and Barcelona.
The codeshare will be extended to include connections from Cork and Shannon through Dublin and Madrid to other Spanish domestic destinations, including Alicante, Malaga and Seville.
Aer Lingus and Iberia are both members of the OneWorld partnership.