The article presents a modified method for the synthesis of 2-substituted 5,6,7,8-tetrahydrobenzo[4,5]thieno[2,3-d]pyrimidine-4(3H)-one and the predict of their anti-inflammatory activity. The proposed method for obtaining tetrahydrothienopyrimidine derivatives is preparatively effective and simple. Their synthesis was carried out by heterocyclization of azomethine derivatives of 2-amino-4,5,6,7-tetrahydro-1-benzothiophene-3-carboxamide in the medium of glacial acetic acid with the catalytic addition of dimethyl sulfoxide. Preliminary prognosis of anti-inflammatory activity in silico method allowed us to identify the most promising compounds. Of these, the 4b structure containing a 2-hydroxyphenyl fragment in the second position of pyrimidine-4(3H)-one may be of the greatest interest. It seems appropriate to further study the spectrum of biological activity of the studied compounds.