Prepare jars and lids by sterilizing in hot water if you plan to store the jam shelf-stable. Otherwise, clean jars will be fine for refrigerated storage.
In a large, heavy-bottomed pot, combine the chopped apricots, jalapeños, sugar, and lemon juice.
Bring the mixture to a boil over medium-high heat, stirring frequently to prevent sticking or burning.
Reduce the heat slightly and continue to cook at a low boil for 40–50 minutes, stirring often, until the jam thickens.
To test for doneness, spoon a small amount onto a chilled plate. Let it sit for a minute, then run your finger through the center—it should wrinkle slightly and hold its shape.
Once thickened to your liking, remove from heat and ladle hot jam into prepared jars.
Wipe the rims clean, seal, and either process in a hot water bath for 10 minutes or allow to cool and refrigerate for up to 3 weeks.