Abstract: The quinoline derivatives arouse interest due to their broad spectrum of activity. The phosphorus compounds under investigation, quinolinylphosphonic and -phosphinic acids and aminophenylphosphonic and -phosphinic acids, possess potent bioactive properties, mimicking amino acids, phosphate esters, anhydrides, or carboxylate groups in enzymes. Despite its potential value, there is no reported example of quinolinylphosphonic or - phosphinic acids with phosphonic or phosphinic functional groups connected directly to the benzene ring in quinoline constitution. The selected quinoline derivatives have been synthesized by adopting the Skraup-Doebner-Von Miller reaction. To this end, the syntheses of aminophenylphosphonic and -phosphinic acids were conducted and afforded the target products with high yield. All structures have been proven by the combination of NMR, IR, MS, and HRMS techniques and were rationalized based on DFT calculation. The structures of triphenylphosphane oxide (TPO), diphenylphosphosphinic acid (1c), (tert-butyl)phenylphosphinic acid (1d) and bis(3-nitrophenyl)phosphinic acid (2c) were determined by single-crystal X-ray diffraction measurements. The Hirshfeld surface analyses for 1c, 1d and 2c were performed to analyze the intermolecular interactions in their crystal structures. According to our findings, the presence of numerous intermolecular PO•••H, NO•••H, and CH•••O contacts stabilizes the crystal structures. The NO•••H interactions manifest in the IR spectrum of 2c crystal as a narrow band with a maximum at 3088 cm-1. The PO•••H intermolecular interactions are attributed to a weak experimental band at 1288 cm-1.