UV filters and parabens, as ingredients of cosmetics, are commonly occurring water pollutants. In our work, nutshells were used as biosorbents in the developed analytical procedure for the determination of UV filters and parabens in water samples. The shells obtained from walnuts, hazelnuts, peanuts and pistachios were applied as biosorbents. The proposed analytical method can be used as a powerful alternative to other methods for the analysis of UV filters and parabens in water samples. A method of carrying out the sorption step and its parameters, i.e., the effect of time, pH, and salt addition, was developed. A method for the desorption of analytes was also developed, in which the type and volume of solvent, and the desorption time, were established. The recoveries were in the range of 59–117% for benzophenones and lower recoveries from 14 to 75% for parabens. The results showed that nutshells can be used as low-cost, efficient and eco-friendly biosorbents for the determination of parabens and UV filters in water samples. These materials can be used as a ‘greener’ replacement for the commercially available adsorbents for the extraction of cosmetic ingredients from the environment.