Quick answer: To set up PHD2, run the New Profile Wizard and enter your guide camera’s unbinned pixel size and your guide scope’s focal length (not its aperture), connect the mount through ASCOM or INDI if you can, and build a dark library. Then loop 1-3 second exposures, auto-select a star, and calibrate near declination 0° close to the meridian. Run the Guiding Assistant, apply its recommendations, and aim for total RMS error at or below about half your imaging scale.
As an Amazon Associate, Midwest Astronomy earns from qualifying purchases.
PHD2 is the free, open-source autoguiding program used by almost every amateur imaging setup, either directly or behind capture software such as N.I.N.A. and SGP. As of November 2026 the current stable release is PHD2 2.6.14 (released December 10, 2025), with 2.6.14dev builds adding features such as Alpaca camera and mount support and software binning. It runs on Windows, macOS and Linux. This tutorial follows the official PHD2 documentation and walks through a clean first setup, then explains how to read the graph.
What you need before you start
- An equatorial mount that accepts guide pulses, through ASCOM (Windows), INDI (Linux and macOS), or the ST-4 port. A dual-axis mount is strongly preferred; see our comparison of a star tracker vs an equatorial mount if you are still on a single-axis tracker.
- A guide camera. Small monochrome cameras such as the ZWO ASI120MM Mini or ZWO ASI220MM Mini are the usual choices.
- A guide scope or off-axis guider. A 30-60mm guide scope such as the Svbony SV165 is fine for refractors up to roughly 500-600mm focal length. Longer focal lengths and SCTs often guide better through an off-axis guider (OAG).
- Good polar alignment and balance. Guiding corrects small errors; it does not rescue a badly aligned or badly balanced mount. Our polar alignment guide covers the fastest methods.

Step 1: Create an equipment profile with the New Profile Wizard
Everything PHD2 knows about your rig, including calibration data and recent Guiding Assistant reports, lives in an equipment profile. Create one profile per guiding configuration. A guide scope setup and an OAG setup on a different telescope need separate profiles.
- Open PHD2 and launch the New Profile Wizard (it starts automatically the first time).
- Select the guide camera and enter its unbinned pixel size in microns from the manufacturer’s spec sheet.
- Enter the guide scope focal length. This is the most common beginner error. PHD2’s documentation is explicit: a 50mm finder guider has a focal length closer to 150-175mm, and a 60-80mm guide refractor is typically 240-500mm. With an OAG, use the main telescope’s focal length.
- Select the mount connection. Choose your ASCOM or INDI mount driver if possible. That lets PHD2 read declination and side of pier, adjust calibration automatically for declination and flip it after a meridian flip. “On-camera” ST-4 guiding works but loses those benefits.
- Enter the mount’s guide speed if the wizard asks. PHD2 uses it to size calibration steps; 0.5× sidereal is a common setting.
- On the last page, tick auto-restore calibration and build a dark library.
Step 2: Build a dark library and bad-pixel handling
Cover the guide scope or camera and let PHD2 take dark frames across the exposure range you might use. Guide cameras are uncooled and noisy; subtracting darks removes hot pixels that PHD2 could otherwise mistake for stars. Rebuild the library when you change camera, binning or gain, and refresh it occasionally because uncooled sensors change with temperature. Dark libraries are stored on disk and linked to each profile.
Step 3: Loop exposures, focus and pick a star
- Click Connect All with your profile selected.
- Choose an exposure duration. PHD2 suggests starting in the range of one to three seconds. Shorter exposures chase atmospheric seeing; longer ones react slowly to wind and mount errors.
- Click Loop and focus the guide camera until stars are small and sharp. A guide camera slightly out of focus still works; a badly defocused one gives poor centroids.
- Click Auto-Select Star. The documentation notes that auto-select usually picks better than you would, avoiding saturated stars, hot pixels and stars near the edge. It is also the only way to enable multi-star guiding, which is on by default and can use up to 12 stars to average out seeing.
- Check the star profile. A red SAT label means the star is saturated; choose a fainter one or shorten the exposure.
Step 4: Calibrate in the right part of the sky
Calibration teaches PHD2 which direction and how far the star moves for each guide pulse in RA and declination. A bad calibration is the root of most “PHD2 doesn’t work” complaints.
- Use the Calibration Assistant (Tools menu, or offered when you start calibration in a poor sky position). It proposes slewing to near declination 0° and about 5° east or west of the meridian, then pre-clears declination backlash before calibrating.
- Start calibration. PHD2 moves the mount west, back east, north and back south, measuring the star’s motion. With default settings, it aims for about 12 steps per direction.
- Read the result. PHD2 sanity-checks the calibration and shows a quality assessment. Warnings about non-orthogonal axes or very different RA and Dec rates usually point to backlash, a slipping clutch, a wrong focal length or pixel size, or calibration too close to the pole.
With an ASCOM or INDI connection and auto-restore, you only need to recalibrate after rotating the guide camera by more than a few degrees or changing the guide hardware. With ST-4 guiding, PHD2 cannot track declination or side of pier, so recalibrate when you move far in declination and after every meridian flip (or use “Flip Calibration Now”).

Step 5: Run the Guiding Assistant
The Guiding Assistant (GA) is the most useful tool in PHD2 and the one most people skip. Start guiding, then open Tools → Guiding Assistant. It disables guide output for a few minutes and measures:
- High-frequency star motion, mostly atmospheric seeing. This tells you how much of your error is not correctable.
- Polar alignment error, estimated from declination drift. PHD2’s documentation says to let the GA run for up to 10 minutes near the celestial equator and meridian for an accurate value.
- Uncorrected periodic error in RA.
- Declination backlash, when you enable the backlash measurement at the end of the run.
The GA then recommends minimum-move values, a guide exposure range, and whether to enable backlash compensation. Apply them and resume guiding. Re-run the GA on a new mount, a new season, or after mechanical changes.
Step 6: Understand the guide algorithms (and mostly leave them alone)
PHD2’s defaults are well established. ResistSwitch is the default for declination because valid declination reversals are rare; it resists flipping direction on noise. For RA, common choices are:
- Hysteresis, with aggressiveness and hysteresis settings that control how strongly and smoothly corrections are applied.
- LowPass2, described in the documentation as a conservative algorithm suited to good seeing and well-behaved mounts.
- Predictive PEC, which learns repeating periodic error and corrects it ahead of time. It combines a predicted correction with a reactive correction, and works well on worm-gear mounts with a stable periodic error.
Change one setting at a time, guide for at least 10-15 minutes, and compare RMS numbers. Tweaking aggressiveness every two minutes mostly measures changes in seeing.
Step 7: Read the graph
The guide graph plots RA error (blue) and declination error (red) over time. Switch the vertical axis to arcseconds (right-click the graph or use its settings) so the numbers mean the same thing on any setup. Below or beside it, PHD2 reports RMS error for RA, Dec and total.
What patterns usually mean:
| Graph pattern | Likely cause | Fix |
|---|---|---|
| Fast, random spikes in both axes | Seeing | Longer guide exposures (2-4 s), multi-star guiding, accept it |
| Slow, smooth RA wave every few minutes | Periodic error | Predictive PEC, or PEC training in the mount |
| Dec line drifts steadily in one direction, corrections all one way | Polar alignment error | Improve polar alignment; this is acceptable if mild |
| Dec overshoots, then stalls before reversing | Declination backlash | Slight Dec imbalance, backlash compensation, or guide in one Dec direction |
| Large spikes in gusts | Wind | Shield the rig, lower the tripod, reduce payload |
| Sudden jumps after a pause | Cable snag or slipping clutch | Cable management, tighten clutches |
How good is good enough?
Compare total RMS with your imaging scale:
Imaging scale (arcsec/pixel) = 206.265 × pixel size (µm) ÷ focal length (mm)
A common rule of thumb is total RMS at or below about half your imaging scale. At 400mm with 3.76 µm pixels (about 1.9″/px), guiding near 1″ RMS is solid. At 1,000mm with the same camera (about 0.8″/px) you need around 0.4″, which is demanding for most mid-tier mounts and is usually limited by seeing. If your stars are still elongated with a good RMS, the cause is likely flexure, tilt or spacing; our guide to fixing elongated stars walks through the diagnosis.
Step 8: Dither between subs
Dithering shifts the mount by a few pixels between exposures so fixed sensor patterns land in different places and are rejected during stacking. It is the main cure for walking noise. Enable PHD2’s server (Tools → Enable Server) so N.I.N.A., SGP, SharpCap or other capture software can command dithers and wait for guiding to settle. Typical choices are a dither of a few imaging-camera pixels every one to three subs, and a settle criterion of the star returning within about 1.5 guide pixels for around 10 seconds. Adjust to your own setup: big dithers on long focal lengths waste time settling.
A quick start checklist

- Balance in RA and Dec with everything attached, slightly east-heavy in RA.
- Polar align.
- Connect the profile with the correct pixel size and focal length.
- Loop 2 s exposures, focus the guide camera, auto-select.
- Calibrate with the Calibration Assistant near Dec 0°.
- Run the Guiding Assistant and apply recommendations.
- Start your sequence with dithering enabled.
- Save the logs. PHD2’s guide and debug logs are what experienced users ask for when you post for help, and they open in the free PHD2 Log Viewer.
For broader capture problems, from dew to focus, our astrophotography troubleshooting hub covers the rest of the imaging chain.
Frequently asked questions
The focal length, not the aperture. A 50mm finder guider is typically about 150-175mm focal length, and 60-80mm guide refractors are usually 240-500mm. With an off-axis guider, enter the main telescope's focal length.
Start with 1-3 seconds, as the PHD2 documentation suggests. Use 2-4 seconds on nights of poor seeing so the mount is not chasing atmospheric motion, and shorter exposures only if your mount has fast errors and seeing is steady.
Near declination 0° and about 5° east or west of the meridian. The Calibration Assistant will slew there for you and pre-clear declination backlash. Calibrating near the pole produces poor RA calibration.
A common rule is total RMS at or below about half your imaging scale in arcseconds per pixel. For a 400mm scope with 3.76 µm pixels, about 1 arcsecond RMS is good. Always read RMS in arcseconds, not pixels.
Not if you connect through ASCOM or INDI with auto-restore enabled and do not rotate the guide camera. PHD2 then adjusts for declination and meridian flips. With ST-4 guiding, recalibrate after large declination moves and meridian flips.
Usually clouds, a star too faint for the exposure, a saturated star, or a sudden jump from a cable snag or wind gust. Use auto-select, multi-star guiding, a slightly longer exposure, and check cable management.