Getting the phone onto your screen is step one. Learning how to use scrcpy well is what turns it from a novelty into a tool you open every day. This guide moves from a first session through the controls, the most useful command-line options, recording, file transfer, audio, the camera, virtual displays and multi-device setups. Every command shown here works with current releases; where a feature depends on the Android version, we say so.
Your first session
With USB debugging enabled and the phone connected and authorized, open a terminal in the scrcpy folder (or anywhere, if scrcpy is on your PATH) and run:
scrcpy
A window appears showing the phone's screen. The terminal prints lines such as the detected device, the renderer in use and the stream resolution. Keep that terminal visible for now: when something goes wrong, the answer is almost always printed there.
To end the session, close the window or press Ctrl+C in the terminal. The server on the phone stops automatically.
Controlling the phone with mouse and keyboard
- Left click taps; click and drag swipes; the scroll wheel scrolls.
- Right click acts as Back, or turns the screen on if it is off.
- Middle click goes Home.
- Ctrl + drag performs a pinch-to-zoom and rotate gesture around the centre of the screen.
- Typing sends text to the focused field. For physical-keyboard behaviour, including games that read raw key events, add
--keyboard=uhid(short form-K).
The shortcut modifier is Left Alt or Left Super by default (written MOD below). The most useful combinations:
| Shortcut | Action |
|---|---|
| MOD+F | Toggle fullscreen |
| MOD+H / B / S | Home / Back / App switcher |
| MOD+O | Turn the phone's display off, keep mirroring |
| MOD+Shift+O | Turn the display back on |
| MOD+P | Power button |
| MOD+R | Rotate the screen |
| MOD+N | Expand notifications |
| MOD+↑ / ↓ | Volume up / down |
| MOD+G | Resize window to 1:1 pixels |
| MOD+W | Resize window to remove black borders |
| MOD+C / X / V | Copy / Cut / Paste on the device |
If Alt conflicts with other software, change the modifier with --shortcut-mod=lctrl.
Size, bit rate and frame rate
Three flags control nearly all quality and performance trade-offs:
--max-sizeor-mlimits the longest dimension.-m 1024is light and readable; omit it for full resolution.--video-bit-rateor-bsets the data rate. The default is 8 Mbps. Lower it to 2–4M on Wi-Fi; raise it to 16M or more for crisp recordings over USB.--max-fpscaps frame rate. Useful for saving battery or bandwidth.
scrcpy -m 1280 -b 6M --max-fps 60
You can also choose the codec with --video-codec=h264, h265 or av1. H.265 gives better quality per bit on phones that encode it well; AV1 is supported only by recent hardware. If a codec fails, the default H.264 is the safe fallback.
Screen behaviour while mirroring
scrcpy --turn-screen-off --stay-awake
This combination, shortened to scrcpy -Sw, is a favourite: the phone's own display goes dark to save power and avoid prying eyes, while the device stays awake as long as it is connected. Add --power-off-on-close to turn the screen off when you close scrcpy, and --show-touches (-t) to display touch points while recording tutorials.
Recording the screen
scrcpy --record=demo.mp4
scrcpy --record=demo.mkv --no-window # record without displaying
The format follows the file extension. Recording keeps going until you close scrcpy. Audio is included when audio forwarding is active. MKV is more robust if the session ends unexpectedly, since an interrupted MP4 may be unplayable. For a fixed orientation in the file, use --record-orientation.
Installing apps and pushing files
Drag an .apk file onto the scrcpy window to install it. Drag any other file and it is copied to /sdcard/Download/ on the device. Change the destination with --push-target=/sdcard/Movies/. This is the quickest way to move a screenshot or document without cables, cloud storage or chat apps.
Clipboard sharing
Clipboard sync works both ways by default: copy on the computer and paste on the phone with Ctrl+V, or copy on the phone and the text becomes available on the computer. If a particular app does not accept pasted text, MOD+Shift+V injects the clipboard as typed key events instead. Disable syncing with --no-clipboard-autosync if you prefer to keep clipboards separate.
Audio forwarding
On Android 11 and later, sound plays on the computer automatically. Useful variations:
scrcpy --no-audio # video only
scrcpy --audio-source=mic # capture the microphone instead
scrcpy --audio-codec=aac --audio-bit-rate=128K
scrcpy --no-video --no-window # audio-only, e.g. to hear a phone through PC speakers
On Android 11 itself, unlock the phone when starting the session or audio capture may fail. If sound crackles, increase --audio-buffer slightly (for example to 80 ms) at the cost of a little delay.
Using the camera as a source
On Android 12 and newer, scrcpy can stream a camera instead of the display:
scrcpy --list-cameras
scrcpy --video-source=camera --camera-facing=back --camera-size=1920x1080
Combined with screen-capture software, this turns a phone into a high-quality webcam. Add --no-audio or --audio-source=mic depending on whether you want the phone's microphone.
Virtual displays and starting apps
Recent versions can create a separate virtual display and launch an app into it, leaving the phone's main screen untouched:
scrcpy --new-display=1920x1080 --start-app=org.mozilla.firefox
Support depends on the device and Android version, and some apps behave differently on secondary displays, but when it works it is effectively a desktop-sized window for a mobile app.
Working with more than one device
adb devices
scrcpy -s R5CW31XXXXX
scrcpy -d # the only USB device
scrcpy -e # the only TCP/IP device
Run one scrcpy per device, each in its own terminal or shortcut. Add --window-title="Test phone" to tell windows apart, and --window-x, --window-y to place them side by side.
Going wireless
With the phone connected by USB once, run scrcpy --tcpip. Scrcpy enables wireless ADB, discovers the phone's IP address and reconnects over Wi-Fi; unplug the cable when the window appears. Afterwards connect directly with scrcpy --tcpip=192.168.1.42. Lower the bit rate and size for stable wireless sessions.
OTG mode: keyboard and mouse without debugging
Scrcpy has a lesser-known mode that does not mirror anything at all. With --otg, your computer’s keyboard and mouse act as if they were physically plugged into the phone over USB. Android sees standard input devices, so this mode works even when USB debugging is disabled, which makes it useful on locked-down work phones or for typing on a device you do not want to put in developer mode.
scrcpy --otg
A small window opens; while it has focus, everything you type and every mouse movement goes to the phone. You look at the phone’s own screen to see the result. Because there is no video stream, latency is essentially zero and the computer needs almost no resources. Platform details differ slightly between Windows, macOS and Linux, so read the official OTG documentation page before relying on it.
It is also handy alongside normal mirroring when you only need typing: for example, write a long message on the phone with a real keyboard while the phone stands on your desk.
Quick answers
How do I see every available option?
Run scrcpy --help. The list is long and grouped alphabetically; pipe it into a pager (scrcpy --help | more on Windows, | less elsewhere) to read it comfortably. The doc folder in the official repository explains each topic in depth.
Can I take a screenshot from scrcpy?
Scrcpy has no screenshot shortcut, but you can press the phone’s own screenshot combination through the mirrored interface, or capture the scrcpy window with your computer’s screenshot tool. For a pixel-exact image, press MOD+G first.
How do I keep the window above other windows?
Start with --always-on-top. Combine it with a smaller --max-size to keep a compact phone window floating beside your work.
Can I crop part of the screen?
Yes. --crop=width:height:x:y mirrors only a region of the device display, which is useful for some headsets and for focusing on one part of an app during a demo.
What does --no-control do?
It makes the session view-only: mouse and keyboard events are not sent to the phone. Use it for presentations or recordings where an accidental click could change what is on screen.
Habits that make scrcpy effortless
Save your favourite flag combinations as shortcuts, keep the console version handy for troubleshooting, and check scrcpy --help after each upgrade, since new options appear regularly. If you prefer clicking to typing, our scrcpy GUI guide covers launchers and frontends. And if something stops working, the community fixes guide collects the problems people run into most often.