Subaru always recommends 5W-30 synthetic oil instead of 5W-40 to protect the engine against sludge, wear, and deposits. So, 5W-30 is better than 5W-40 for Subaru.