Wettability of Berea and low permeability reservoir rocks are permanently altered from liquid-wetting to intermediate gas-wetting. We use water and decane as model liquid, and air and nitrogen as model gas in the experiments. New chemicals with various functional groups are used in the wettability alteration. We perform compositional analyses of the treated chemical solutions extracted from rock treatment by gas chromatography-mass spectrometry (GCMS) and by inductively coupled plasma-mass spectrometry (ICPMS). The analyses demonstrate reaction between the chemicals and the rock substrate. There is no measurable change in permeability from the chemical reaction for the low molecular weight chemicals. The results reveal the permanent alteration of wettability. Tests are conducted to measure contact angle, spontaneous imbibition, and flow to assess the effect of wettability alteration on flow performance as a function of chemical concentration and functionality. For Berea, the contact angle for the water-air-rock is altered from 0 • to ∼150 • depending on the chemical concentration. For the reservoir rock, the contact angle is altered from ∼70 • to ∼130 • . As a result of the treatment, the water flow rate may increase two and a half times for a given pressure drop in the Berea. The permanent alteration of wettability with the new chemicals is intended for prevention of water blocking in gas production from tight reservoirs. Instead of hydraulic fracturing when water is introduced in formations with most of the water retained by the water-wet rocks, one may use the new chemical surfactants in fracturing to avoid water retention for high gas well productivity.