Spray drying is a well-established scale-up technique for the production of cocrystals. However, to the best of our knowledge, the effect of introducing a third component into the feed solution during the spray drying process has never been investigated. Cocrystal formation in the presence of a third component by a one-step spray drying process has the potential to reduce the number of unit operations which are required to produce a final pharmaceutical product (e.g. by eliminating blending with excipient). Sulfadimidine (SDM), a poorly water soluble active pharmaceutical ingredient (API), and 4-aminosalicylic acid (4ASA), a hydrophilic molecule, were used as model drug and coformer respectively to form cocrystals by spray drying in the presence of a third component (excipient). The solubility of the cocrystal in the excipient was measured using a thermal analysis approach. Trends in measured solubility were in agreement with those determined by calculated Hansen Solubility Parameter (HSP) values. The ratio of cocrystal components to excipient was altered and cocrystal formation at different weight ratios was assessed. Cocrystal integrity was preserved when the cocrystal components were immiscible with the excipient, based on the difference in Hansen Solubility Parameters (HSP). For immiscible systems (difference in HSP > 9.6 MPa0.5), cocrystal formation occurred even when the proportion of excipient was high (90% w/w). When the excipient was partly miscible with the cocrystal components, cocrystal formation was observed post spray drying, but crystalline API and coformer were also recovered in the processed powder. An amorphous dispersion was formed when the excipient was miscible with the cocrystal components even when the proportion of excipient used as low (10% w/w excipient). For selected spray dried cocrystal-excipient systems an improvement in tableting characteristics was observed, relative to equivalent physical mixtures.