Apple's new Back to School promotion, which gives eligible customers a free pair of Beats headphones when they buy a Mac, is now available online. The offer has also been rolled out to several new markets throughout Europe, including the U.K.

This year's Back to School deal provides students and teachers with a free pair of Beats Solo2 headphones worth $200 when they buy a qualifying Mac. Those eligible include the iMac, Mac Pro, MacBook, MacBook Pro, and MacBook Air.

Customers can also get $200 off a set of Beats Solo2 Wireless Headphones, reducing the price to $100, and $20 off an iPad Air, iPad Air 2, iPad mini 2, and iPad mini 3.

Until Thursday, Apple's Back to School promotion was only available in retail stores in the U.S., but now customers can take advantage of it online, too. It has also been made available in a handful European markets.

The promotion ends on September 18.