The invention concerns novel (oxamido- and ureido-phenylsulfonyl)nitromethane derivatives and pharmaceutically acceptable salts thereof which are inhibitors of the enzyme aldose reductase and are of value, for example, in the treatment of certain peripheral effects of diabetes and galactosemia. Also disclosed are pharmaceutical compositions containing one of the derivatives and processes for the manufacture and use of the derivatives.