Delay in playback vs record

I am using Audacity 2.1.3 and Focusrite Scarlett 2i2. After I record the keyboard drums, I go to record another instrument along with the drums, which seems to be fine, until I listen to it on playback, and there is a slight delay in what I recorded with the second instrument. In other words, it seems that what I hear through the headphones has a delay in the playback as I am recording another instrument. Is this maybe a Focusrite issue?

Overdubbing takes some work.

Step One. You need to listen to the Focusrite for everything and not the computer. Computer sound is always going to be out of step and give echoes or delays.
Step Two. There is a recording latency adjustment you need to make to make sure when you perform to the guide track in perfect sync, the recording actually comes out in perfect sync.

http://manual.audacityteam.org/man/tutorial_recording_multi_track_overdubs.html

What you’re doing is similar to the Shure X2U. It, too is a USB microphone preamplifier.

A short version of latency adjustment:
Create a “drum” track with Generate > Metronome
Play that track in overdub mode into your headphones. Jam your headphones against the microphone.
Screen Shot 2017-06-25 at 20.05.56.png
Play both tracks back and measure the difference between them. That’s the Recording latency correction.

Koz