The aim of the article was to determine the compressive strength and compressive strain of an unmodified and a modified epoxy compounds containing a montmorillonite filler, as well as to determine the effect of temperature and an aging time on the mechanical parameters of the considered epoxy compounds. The subject of the research was both the unmodified and the modified adhesive compounds. The unmodified epoxy compounds were made in four variants, which included the epoxy resins based on a bisphenol A as well as the curing agents: a triethylenetetramine and a polyamide curing agent. The modified compounds containing the montmorillonite filler, were also made in four variants. The samples were subjected in a thermal chamber at 80 °C for 1 and 2 months and in a thermal shock chamber in the temperature range from − 40 °C to 80 °C for 1 and 2 months. The reference samples were seasoned at room temperature 20–25 °C. The epoxy compounds samples were subjected to the compression strength tests in accordance with ISO 604 standard. The compressive strength is influenced by the environment and temperature, the aging time and the presence of the modifying agent. The epoxy compounds subjected at elevated or variable temperatures have higher compressive strength than the reference epoxy compounds. The operation of the climatic chamber or the thermal shock chamber makes the samples more deformable than the reference samples.