Yes. The student discount at ScotRail is activated through a railcard, so you’ll need to have a 16–25 railcard in order to enjoy ⅓ off ScotRail tickets. Keep in mind that ScotRail occasionally has promotions which could be more cost-effective than railcard discounts, like 50% off student rail tickets in September.