MacOS Mojave, Apple’s upcoming desktop OS, available this fall as a free software update for Macs, will only run on systems from mid-2012 or later, plus 2010 and 2012 Mac Pro models with recommended Metal-capable graphics cards.
Here is a list of compatible Macs:
MacBook (Early 2015 or newer)
MacBook Air (Mid 2012 or newer)
MacBook Pro (Mid 2012 or newer)
Mac Mini (Late 2012 or newer)
iMac (Late 2012 or newer)
iMac Pro (2017)
Mac Pro (Late 2013, plus mid 2010 and mid 2012 models with recommend Metal-capable GPU)
Apple’s current MacOS, 10.13 High Sierra is compatible with the following Macs:
MacBook (Late 2009 or newer)
MacBook Pro (Mid 2010 or newer)
MacBook Air (Late 2010 or newer)
Mac Mini (Mid 2010 or newer)
iMac (Late 2009 or newer)
Mac Pro (Mid 2010 or newer)