A set of 4-benzylsulfanyl derivatives of pyridine-2-carbonitriles and pyridine-2-carbothioamides, previously tested for their antimycobacterial activity, were analysed by quantitative structure-activity relationship (QSAR) techniques, using some physicochemical and quantum-chemical parameters. The resulting QSAR revealed that the activity increases with electron withdrawing substituents in the benzyl moiety of studied compounds. HOMO orbitals can play an important role in the description of the mechanism of interactions at the molecular level. Additionally, the results of multiple linear regression indicate the differences between Mycobacterium tuberculosis and M. avium. The hydrophobicity of studied compounds is important for activity against M. avium.