Place Text Behind Anything in Photoshop

183K views 6,324 likes 127 comments

Jump to a step in the video (9)

Click a time to play the video from there.

  1. 0:00 Introduction
  2. 0:03 Document Review
  3. 0:10 Select The Main Subject
  4. 0:26 Fine-Tune The Selection with The Quick Mask Mode
  5. 1:25 Create a Group and Apply The Selection as a Mask
  6. 1:40 Inver the Layer Mask
  7. 2:16 Make the Window Transparent
  8. 3:41 The Efficiency of Applying a Mask To a Group
  9. 4:02 Final Thoughts
Show Shortcuts for
Text size
Appearance

Your choices stick across every tutorial on this device.

Open any magazine or movie poster and you will spot this effect: a headline that slips behind the subject of the photo. In this tutorial, you will learn how to place text behind anything in Photoshop using a selection, a group, and a single inverted Layer Mask. You will build it on a photo of a car, but the same steps work with any subject you can select.

The technique is non-destructive and beginner-friendly. The text stays live, the mask stays editable, and mistakes are fixed by painting on the mask instead of starting over.

Key Takeaways

  • Start with Select > Subject to get an AI-powered selection around your subject, then refine it by hand.
  • Press Q for Quick Mask Mode and paint with the Brush Tool: white adds to the selection, black removes from it.
  • Put the Text Layer in a group and apply the Layer Mask to the group, so one mask controls several text layers.
  • Invert the mask with Ctrl I (macOS: Command I) so the text hides behind the subject instead of covering it.
  • Paint on the mask with 30% gray to let text show through glass at 30% opacity, which sells the realism.

What You’ll Learn

  • Select a subject automatically with Select > Subject
  • Fine-tune any selection in Quick Mask Mode with the Brush Tool
  • Group a Text Layer and mask the group instead of the layer
  • Invert a Layer Mask so text tucks behind the subject
  • Paint with gray on a mask to make text visible through glass

Requirements

  • Recorded in Photoshop 2022. Any version with Select > Subject will follow along; in older versions, build the selection by hand in Quick Mask Mode.
  • A photo with a clear subject and a Text Layer above it, or the practice file from the download below.

Tutorial Download

Keyboard Shortcuts In This Tutorial

ActionWindowsmacOS
Enter or exit Quick Mask ModeQQ
Reset default foreground and background colorsDD
Group the selected layersCtrl GCommand G
Invert a Layer MaskCtrl ICommand I
Brush ToolBB
Zoom ToolZZ
Paint a straight line between two clicksShift ClickShift Click
View the Layer Mask on canvasAlt Click the maskOption Click the mask

How to Place Text Behind Anything in Photoshop

The starting document has two layers: a background photo of a car and a regular Text Layer on top of it. By the end of this section, the car will overlap the text instead of the other way around.

Step 1: Select the Subject

The first step is to select the object that will sit in front of the text. Photoshop offers many ways to make selections, and one of the easiest is Select > Subject. Photoshop analyzes the image with AI and draws a selection around the main subject for you. It will not be perfect, and that is fine; it is a great starting point.

Step 2: Refine the Selection in Quick Mask Mode

Press Q to enter Quick Mask Mode. The red overlay marks the areas that are not selected. Select the Brush Tool and paint with white over any part of the car the overlay still covers. Remember the rule behind every mask in Photoshop: white reveals and black conceals.

Here is a trick that speeds this up. Click once, then hold Shift and click somewhere else. Photoshop draws a straight stroke between those two points, which makes quick work of the edges along the top of the car.

If an area is selected that should not be, tap D to reset the default colors, make black your foreground color, and paint over that area to deselect it. The selection does not have to be perfect; you can always edit it later. When the car looks solid, press Q again to bring back the selection.

Step 3: Group the Text Layer

Click on the Text Layer in the Layers panel and enable its visibility. Then press Ctrl G (macOS: Command G) to put the text layer inside a group. You will see why the group matters in a moment.

Step 4: Mask the Group and Invert It

With the selection still active and the group selected, click the Layer Mask icon at the bottom of the Layers panel. Photoshop turns the selection into a mask on the group. Notice the problem, though: the text now shows only in front of the car. You want the opposite, so invert the mask. Press Ctrl I (macOS: Command I), or click Invert in the Properties panel. The text drops behind the car.

Step 5: Reposition the Text

Select the text layer inside the group and grab the Move Tool. When you click and drag, the type slides around the canvas and the car keeps overlapping it, exactly the effect you were after. The type is still live, so you can edit or restyle it at any time.

Make the Text Show Through the Windows

To push the realism further, the text should be faintly visible through the glass. A car window is transparent, so type behind it should not vanish completely. A soft gray brush handles it.

  1. Tap Z and zoom into the window area.
  2. Select the Brush Tool, click the down-pointing arrow in the Options bar, and reduce the Hardness.
  3. Click the foreground color swatch, set the brightness to about 30%, and press OK.
  4. Click on the group’s Layer Mask and paint over the glass.

Because you are painting with 30% gray instead of pure white, the text comes through at only 30% opacity. That partial transparency reads as glass and makes the effect far more believable.

To see exactly what you are doing, hold Alt (macOS: Option) and click the Layer Mask thumbnail. The canvas switches to a view of the mask itself, so you can paint over any areas you missed. Alt-click (macOS: Option-click) the mask again to return to the regular view.

Double-click the Hand Tool to fit the image to your screen. When you drag the text layer with the Move Tool, the transparency travels with it through the windows. Spot a mistake? Click the mask, press B for the Brush Tool, and paint the imperfections away.

Why Mask the Group Instead of the Text Layer

Because a mask on the group controls every layer inside it. The example file has two text layers, “Text” and “Behind”. Each moves independently, yet both tuck behind the car through the same mask. One mask, multiple layers, no duplicated cleanup.

Refining Tricky Edges

For subjects with hair or other intricate detail, refine your mask in the Select and Mask workspace instead of the brush alone. The guide on changing backgrounds in Photoshop covers that workspace in depth.

Frequently Asked Questions

How do you put text behind an object in Photoshop?

Select the object with Select > Subject, place your text layer in a group, and turn the selection into a Layer Mask on that group. Then invert the mask with Ctrl I (macOS: Command I) and the text drops behind the object.

Why is my text in front of the object instead of behind it?

Your Layer Mask is revealing the text inside the selection instead of outside it. Select the mask and press Ctrl I (macOS: Command I), or click Invert in the Properties panel.

Can I still edit the text after adding the mask?

Yes. The mask sits on the group, not on the text layer, so the type stays fully live. You can rewrite the words, change the font, or move the layer at any time.

How do I make the text show through glass or a window?

Set your foreground color to a gray at about 30% brightness, soften the Brush Tool, and paint over the glass on the Layer Mask. The text comes through at 30% opacity, which mimics transparency.

What do white and black do on a Layer Mask?

White reveals and black conceals. Gray values sit in between and give you partial visibility, which is how the text shows faintly through the car windows.

Does the selection need to be perfect before I create the mask?

No. Get a solid starting point from Select Subject, tidy the obvious problem areas in Quick Mask Mode, and commit. The result is a Layer Mask, so you can keep painting corrections afterward.

What if my subject has hair or fine detail?

Refine the mask in the Select and Mask workspace, which has dedicated tools for hair and intricate edges. A round brush is fine for hard-edged subjects like cars, but soft detail needs the extra help.

Your Text, Behind Anything

That is the whole technique: one AI-assisted selection, one group, and one inverted Layer Mask. Once you understand the flow, you can place text behind anything in Photoshop in a couple of minutes, no matter the subject.

The habits you practiced carry into bigger projects too. Quick Mask refinements, masked groups, and gray paint for partial opacity show up in compositing constantly. Watch the video above to see every step in real time.

Pro Training

Selections and Masking Mastery

Complete course includes 2.5 hours of step-by-step lessons, 6 structured modules, downloadable practice files, and custom Photoshop brushes. Everything you need to master selections and masks in one place.

View the Course

Keep going

Selections and masks are the backbone of this effect and of almost every composite. To master them properly, check out Selections and Masking Mastery, my complete course on cutting out and blending anything in Photoshop.

And if you are new here, subscribe on YouTube for a new Photoshop tutorial every week.

Final Image

Drag the slider to see before and after

After: Place Text Behind Anything in Photoshop
Before: Place Text Behind Anything in Photoshop
Jesús Ramirez

About the author

Jesús Ramirez

Jesús Ramirez is a graphic designer and the founder of the Photoshop Training Channel, which he started in 2012 and has grown past two million YouTube subscribers. He has taught at Adobe MAX, Adobe Summit, and Photoshop World, teaches courses for CreativeLive and Pluralsight, and was one of five artists chosen for Adobe Stock's Make a Masterpiece campaign. His Photoshop templates shipped inside Photoshop CC 2018.

More about Jesús Ramirez

Similar Posts