Which Tennis Lines Count in Singles and Doubles?
On a standard full-size tennis court, singles uses the inner sidelines and doubles uses the outer sidelines. The baseline stays the same. The wider doubles playing area does not make the service boxes wider.

Locate the two sidelines
The strips between the inner and outer sidelines are the doubles alleys, also called tramlines. A rally ball landing in an alley can be in for doubles but out for singles. Identify both lines before starting.
Keep the serve inside its box
The serve must land in the diagonally opposite service box. The alley is not added to that box in doubles. Separate the serve’s landing area from the wider boundaries used once a doubles rally is underway.
Use dimensions as a cross-check
USTA lists a full-size court as 78 feet long, with a width of 27 feet for singles and 36 feet for doubles. These describe the playing court, not the extra space behind or beside it.
Confirm the session format
Junior sessions may use smaller courts or extra colored lines. Ask which markings the lesson uses rather than assuming every line belongs to the full-size game. Agree on singles or doubles boundaries before the first point.
Sources
USTA — Court sizes and tennis levels; ITF — Tennis glossary and court boundaries.
Related reading
Regular Duty vs Extra Duty Tennis Balls: Start with the Court
Tennis Racket Grip Sizes: Read the Number, Then Try the Handle