Scarlett 4th Gen Solo, 2i2, 4i4, 16i16, 18i16 and 18i20 = YES
All Scarlett 4th Gen units have loopback. More details on its use are in this article - Scarlett 4th Gen using Loopback
Scarlett 3rd Gen 4i4, 8i6, 18i8 and 18i20 = YES
- For more info, see How do I use the 'Loopback' feature on the Scarlett 3rd Gens?
For Scarlett 1st/2nd Gen ranges
No, the Scarlett 1st and 2nd Gen range do not have the loopback function (apart from the 1st Generation 8i6). However, there is a workaround for this, using the S/PDIF in/out (on Scarlett interfaces with S/PDIF in/out).
If you loop a cable from the S/PDIF output to the S/PDIF input on the Scarlett, you can achieve similar functionality as with loopback and with no degradation to the signal since it remains a digital signal.
To do that, you'll need to configure Scarlett Mix Control (1st Generation Scarlett) or Focusrite Control (2nd Generation Scarlett) to send whichever channels you wish to loop back to the S/PDIF Outputs. Typically, if you're just trying to record the general output from your computer, this will be DAW 1-2 (Scarlett Mix Control) or Playback 1-2 (Focusrite Control).
Scarlett Mix Control
Focusrite Control
Once everything is configured, simply record the S/PDIF Input on your device in your DAW (you may need to mute the track you're recording to in order to avoid a feedback loop).