Successful structure-based drug design (SBDD) requires the optimization of interactions with the target protein and the minimization of ligand strain. Both factors are often modulated by small changes in the chemical structure which can lead to profound changes in the preferred conformation and interaction preferences of the ligand. We draw from examples of a Roche project targeting phosphodiesterase 10 to highlight that details matter in SBDD. Data mining in crystal structure databases can help to identify these sometimes subtle effects, but it is also a great resource to learn about molecular recognition in general and can be used as part of molecular design tools. We illustrate the use of the Cambridge Structural Database for identifying preferred structural motifs for intramolecular hydrogen bonding and of the Protein Data Bank for deriving propensities for protein-ligand interactions.