Thus, for example, a polyacrylamide can be added to the drilling mud in an unhydrolyzed condition, substantially all of the hydrophilic radicals being present as CONI-Iz groups, together with sodium or potassium hydroxide or carbonate or other alkaline materials which are ordinarily added to drilling muds.