Spent coffee grounds constitute a waste product that has attracted potential interest as a rich source of secondary metabolites such as polyphenolic compounds with antioxidant properties. In this work, aqueous extracts from samples of different spent coffee grounds from Costa Rica were prepared and analyzed using ultra-performance liquid chromatography coupled with high-resolution mass spectrometry using a quadrupole time-of-flight analyzer (UPLC-QTOF-ESI MS). This allowed for the identification of twenty-one compounds, including fourteen phenolic acids, three caffeoylquinic lactones, and four atractyligenin diterpenes. In addition, using UPLC coupled with a diode array detector (UPLC-DAD), we quantified the levels of caffeine (0.55-3.42 mg/g dry weight [DW]) and six caffeoylquinic and feruloylquinic acids (0.47-5.34 mg/g DW). The highest value was found for the fine-grind sample (EXP), both for phenolic acids and for total polyphenols (9.59 mg gallic acid equivalents [GAE]/g DW), compared to 2.13 and 1.70 mg GAE/g DW for the medium-grind (GR) and coarse-grind samples (PCR), respectively. The results obtained from the antioxidant evaluations using the 2,2-diphenyl-1-picrylhydrazyl assay (IC