How to Stream PC Games to Android With Moonlight
Moonlight turns an Android phone or tablet into a portable screen for games running on a Windows PC. The game is processed by the computer, while the video and audio are sent across your home network. Your touch input, controller commands, or keyboard signals travel back to the PC with very little delay when the setup is configured correctly.
The combination is useful when the main display is occupied, when you want to play from the sofa, or when you need a lighter alternative to carrying a gaming laptop. It can also make demanding PC titles playable on Android hardware that could not run them locally.
Before starting, check your Android smartphone guide for details about Wi-Fi standards, USB support, screen resolution, and controller compatibility. A recent Android device is helpful, but network quality usually has a greater effect on streaming performance than raw phone speed.
What Moonlight Needs Before You Start
Moonlight is the Android client that receives the game stream. You also need a game-streaming host installed on your Windows computer. Sunshine is the most common choice because it is open source, actively maintained, and works with modern AMD, Intel, and Nvidia graphics cards. Older guides may mention Nvidia GeForce Experience GameStream, but that feature is no longer the preferred route.
Your computer should have a reasonably capable GPU, updated graphics drivers, and enough performance to run the game while encoding video. A wired Ethernet connection from the PC to the router is strongly recommended. The Android device can use Wi-Fi, although a 5 GHz or Wi-Fi 6 network is much better than a crowded 2.4 GHz connection.
For the smoothest experience, keep both devices on the same local network during the first setup. Streaming over the internet is possible with additional configuration, but it introduces more variables, including upload speed, latency, port forwarding, and network security.
Install Moonlight And Sunshine
Download Moonlight from Google Play on your Android device. On the Windows PC, download Sunshine from its official project page and install it using the standard setup process. Sunshine normally opens a web-based configuration panel where you create an administrator username and password.
Open Sunshine’s interface on the PC and confirm that the host service is running. The application can detect installed games in some cases, but you can also add programs manually. Adding a game launcher, such as Steam, gives you access to a wider library from the Android client.
Launch Moonlight while the Android device is connected to the same Wi-Fi network as the computer. The PC should appear automatically. Tap its name, and Moonlight will display a pairing code. Enter that code in Sunshine’s interface, then approve the connection.
If the computer does not appear, check whether Windows Firewall blocked Sunshine. Allow the application on private networks, restart both apps, and verify that the phone is not connected through a guest Wi-Fi network. Guest networks often prevent devices from discovering one another.
Configure Your Windows Gaming Host
Sunshine provides settings for video encoding, audio, input, and application management. The default options are usually enough for a first test, but the encoder should match your graphics hardware. Nvidia cards commonly use NVENC, AMD cards use AMF, and Intel systems may use Quick Sync when supported.
Start with a 1080p stream at 60 frames per second. This is a practical balance between image clarity, network usage, and responsiveness. If the Android device has a 1440p or high-refresh display, increasing resolution can improve sharpness, but it also requires more bandwidth and encoding capacity.
Make sure the game itself is not rendering at an unnecessarily high frame rate. A stable frame rate is preferable to a fluctuating one because inconsistent frame pacing can feel like network lag. Limiting the game to 60 or 90 frames per second may produce a smoother stream.
Sunshine can also stream the Windows desktop, which is useful for launching games, changing settings, or accessing programs that were not added individually. Keep the host computer awake, disable aggressive sleep settings, and ensure the monitor driver does not stop the GPU from being detected when the display is turned off.
Choose The Right Stream Settings
Moonlight lets you adjust resolution, frame rate, bitrate, codec, and control options from the Android app. Begin with conservative settings, test a game for several minutes, and raise quality gradually. This makes it easier to identify whether a problem comes from the network, the host PC, or the Android device.
| Setting |
Recommended Starting Point |
When To Adjust |
| Resolution |
1080p |
Lower it if the stream stutters |
| Frame rate |
60 FPS |
Use 30 FPS on weak networks |
| Bitrate |
15–25 Mbps |
Raise it for sharper images |
| Codec |
HEVC if supported |
Use H.264 for wider compatibility |
| Audio |
Stereo or 5.1 as supported |
Choose stereo for simpler setups |
| Hardware decoding |
Enabled |
Disable only for compatibility testing |
HEVC, also called H.265, can deliver better image quality at a lower bitrate, but the phone must support hardware decoding. H.264 is more compatible and may be the safer option for older Android devices. Hardware decoding should normally remain enabled because software decoding can drain the battery and produce dropped frames.
Bitrate should match the quality of your wireless network. A high setting can create buffering if the router or phone cannot sustain it. Visual artifacts are often a sign that the bitrate is too low, while freezes and delayed input may indicate congestion or an unstable connection.
Improve Controls, Audio, And Responsiveness
A Bluetooth controller is usually the best way to play action games, racing titles, and platformers through Moonlight. Many Android-compatible controllers work immediately, while others need their input mode changed before buttons are recognized correctly. Wired USB controllers can reduce wireless interference and avoid Bluetooth battery drain.
Touch controls are available, but they are more suitable for turn-based games, strategy titles, or simple menus. Moonlight’s on-screen controls can be customized, including button placement, size, and opacity. Hide unused buttons to create more screen space and prevent accidental touches.
Audio is transmitted along with the video stream, so use headphones if the phone’s speakers sound delayed or distracting. If a Bluetooth headset introduces noticeable latency, try wired earphones or the device’s built-in speakers. Keep Android’s volume at a comfortable level before launching a game because some devices apply separate media and notification controls.
For the lowest input delay, connect the PC to the router with Ethernet, stay close to the access point, and avoid heavy downloads on the same network. A mesh Wi-Fi system can work well, but the quality depends on whether its nodes communicate through a wired backhaul or another wireless hop.
Fix Common Moonlight Streaming Problems
A black screen can result from a display-driver issue, an unsupported capture mode, or a game using an incompatible fullscreen setting. Update the GPU driver, try borderless windowed mode, and restart Sunshine. If the desktop streams correctly but one game does not, add the game executable manually or launch it through Steam.
Stuttering does not always mean the PC is too slow. In Moonlight’s performance overlay, separate network latency, decoding time, and frame loss. Network spikes point to Wi-Fi interference or congestion. High decoding time suggests that the Android device is struggling with the selected codec or resolution. Frame loss on the host may indicate that the game is using too much GPU capacity.
Use these practical adjustments when the first stream is unstable:
- Move the Android device to the 5 GHz band or a less congested Wi-Fi channel.
- Reduce the stream to 720p or 30 FPS before increasing quality again.
- Lower the bitrate by small steps instead of changing several settings at once.
- Update Moonlight, Sunshine, Android, and the PC’s graphics driver.
- Close overlays and background applications that consume GPU or network resources.
Connection failures can also come from firewall rules, VPN software, or different network profiles. Temporarily disable a VPN for testing, confirm that Sunshine is allowed on private networks, and make sure both devices are connected to the same router. Once the local connection works reliably, remote streaming can be explored separately.
With Sunshine running on Windows and Moonlight configured on Android, PC games can feel surprisingly close to a native handheld experience. Start at 1080p and 60 FPS, use a controller, and prioritize a stable connection over maximum image quality. Install both applications, pair your devices, and test a familiar game before fine-tuning the stream for longer sessions.