Densities and viscosities of the ionic liquid 1-butyl-3-methylimidazolium octylsulfate, [C 4 C 1 Im][C 8 SO 4 ] were measured as a function of temperature between 313 K and 395 K. Solubilities of hydrogen and carbon dioxide were determined, between 283 K and 343 K, and at pressures close to atmospheric in [C 4 C 1 Im][C 8 SO 4 ] and in another ionic liquid based on the alkylsulfate anion-1-ethyl-3-methylimidazolium ethylsulfate, [C 2 C 1 Im][C 2 SO 4 ]. Density and viscosity were measured using a vibrating tube densimeter from Anton Paar and a rheometer from Rheometrics Scientific with accuracies of 10 −3 g cm −3 and 1%, respectively. Solubilities were obtained using an isochoric saturation technique and, from the variation of solubility with temperature, the partial molar thermodynamic functions of solvation, such as the standard Gibbs energy, the enthalpy, and the entropy, are calculated. The precision of the experimental data, considered as the average absolute deviation of the Henry's law constants from appropriate smoothing equations, is better than ±1%.