OneStopList

Gods and goddesses

How to Show Hydrogen Bonds in Chimera

Updated November 25, 2026

This guide explains how to display hydrogen bonds in UCSF Chimera, a popular molecular visualization program. Showing hydrogen bonds helps you analyze protein–ligand interactions, secondary structure, and stability. You’ll need a structure file (e.g., PDB) loaded in Chimera. The steps work for Chimera 1.x and 2.x (the latter often called ChimeraX, but the classic Chimera interface is used here). If you’re using ChimeraX, see the note at the end.

What You’ll Need

  • UCSF Chimera installed (download from the UCSF RBVI website).
  • A molecular structure file (PDB, mmCIF, or similar) with explicit hydrogen atoms or a structure where Chimera can add them.
  • Basic familiarity with Chimera’s menu bar and command line.

Step-by-Step

  1. Open your structure. Launch Chimera and go to File → Open, select your structure file, and click Open. The molecule appears in the main window.
  2. Add hydrogens if needed. Hydrogen bonds require hydrogen atoms. If your structure lacks them (common in X-ray crystal structures), go to Tools → Structure Editing → AddH. In the dialog, choose the appropriate method (usually Add hydrogens to all), set pH if relevant, and click OK. Chimera adds hydrogens and may also adjust protonation states.
  3. Open the H-Bond tool. Go to Tools → Structure Analysis → H-Bonds. This opens the H-Bond Parameters dialog.
  4. Set detection parameters. In the dialog, you can specify:
    • Selection: choose which atoms to consider. For all atoms, leave it as All. To restrict to a ligand and a protein, select those residues first and choose Selected atoms.
    • Relax H-bond constraints: check this to allow slightly longer or bent bonds (useful for less perfect geometries).
    • Ignore H-bonds to same molecule: often left unchecked if you want intramolecular bonds.
    • Add H-bonds to display: ensure this is checked to actually show the bonds.

    Keep default values for Distance cutoff (typically 3.0 Å) and Angle cutoff (typically 120°) unless you have a reason to change them.

  5. Click OK. Chimera analyzes the structure and displays hydrogen bonds as dashed lines (usually light blue or yellow) between donor and acceptor atoms.
  6. Adjust display style. After the bonds appear, you can modify their appearance. Go to Tools → Depiction → Ribbon Style or use the Model Panel to change line thickness and color. To change the H-bond color specifically, use the command line: type hbond color red (or any color) and press Enter.
  7. Label the bonds (optional). To show distances, use Tools → Structure Analysis → H-Bonds again, and in the dialog check Reveal distances or use the command hbond reveal true. This displays the donor–acceptor distance in Angstroms.
  8. Save your work. To save the image, go to File → Save Image. To save the session with bonds, use File → Save Session.

Common Mistakes

  • Forgetting to add hydrogens. If you skip AddH, few or no hydrogen bonds will appear because the donor hydrogen atoms are missing.
  • Using the wrong selection. If you select only part of the molecule, you may miss bonds. Ensure your selection covers both donor and acceptor groups.
  • Overly strict parameters. Default cutoffs are good, but if you expect weak or long bonds, they may be missed. Relaxing constraints can help.
  • Confusing H-bonds with other interactions. Chimera draws H-bonds as dashed lines; other tools (e.g., contact maps) may show different lines. Check the legend in the H-Bond Parameters dialog.

Tips

  • Use hbond commands for quick control. For example, hbond sel shows H-bonds only for the current selection.
  • To highlight H-bonds to a specific ligand, select the ligand (e.g., click on it) and run hbond sel.
  • If you have multiple models, use the Model Panel to turn off other models so H-bonds are easier to see.
  • For a publication-quality image, adjust the background to white (Actions → Background → Solid) and increase the line width.
  • Chimera’s H-bond detection is based on geometric criteria; it does not account for energy. Use it as a guide, not absolute truth.

Troubleshooting

  • No H-bonds appear. First, check that hydrogens are present (use Actions → Atoms/Bonds → Show and look for white atoms). If not, run AddH. Also verify that the H-Bond tool was run with the correct selection and that the bonds are not hidden behind other representations (try turning off ribbon display).
  • Too many H-bonds. Increase the distance cutoff (e.g., to 2.8 Å) or angle cutoff (e.g., to 150°) in the H-Bond Parameters dialog to filter out weaker interactions.
  • Bonds are not visible in the image. Ensure the H-bond lines are not the same color as the background. Change the color using hbond color or via the H-Bond Parameters dialog.
  • Chimera crashes or freezes. This can happen with very large structures. Try using a smaller region or simplifying the display (e.g., show only backbone).
  • If you’re using ChimeraX: The command is hbonds (with an ‘s’). For example, hbonds sel or hbonds reveal true. The graphical interface is under Tools → Structure Analysis → H-Bonds as well.

Frequently Asked Questions

  • Does Chimera show hydrogen bonds automatically? No, you must run the H-Bond tool or use the hbond command. It does not display them by default.
  • Can I show H-bonds for only a specific residue? Yes. Select that residue (e.g., click on it) and run hbond sel or set the selection in the H-Bond Parameters dialog.
  • How do I change the color of H-bond lines? Use the command hbond color followed by a color name (e.g., hbond color magenta). Alternatively, you can change the color in the H-Bond Parameters dialog if you open it again.
  • What do the numbers next to H-bonds mean? Those are the donor–acceptor distances in Angstroms, shown when you enable Reveal distances. They help you assess bond strength.
  • Can I export the list of H-bonds? Yes. Run the H-Bond tool, and in the dialog, click List to see a table of bonds. You can then copy it or save it from the Chimera log.
  • Why are some H-bonds missing even after adding hydrogens? The geometry may be outside the cutoff. Try relaxing constraints (check Relax H-bond constraints) or increasing the distance cutoff. Also, water molecules are often excluded; if you want water-mediated bonds, include water in the selection.

Related

How pages are sourced and corrected: Sources and editorial policy.