The crystal structure of a sulfamethoxazole complex with 8-hydroxyquinoline has revealed the entrapment of 8-hydroxyquinoline by an interleaved H-bond zigzag channel of sulfamethoxazole formed by N-H.O, C-H..O, N-H..N, and C-H..π intermolecular interactions, as well as a C-H..O intramolecular interaction. It crystallizes in the monoclinic space group P21/c, with the following unit-cell parameters: a = 6.7665(1)Å, b = 14.7037(2)Å, c = 18.1671(3)Å, β = 91.9330(8)°, V = 1806.46(5)Å3, and Z = 4. The formation of a dimeric unit of 8-hydroxyquinoline is influenced by the orientation of the 5-methylisoxazole moiety.