Sternenfels is a municipality located in the state of Baden-Württemberg, Germany. It serves as the northernmost municipality within the Enzkreis district and is composed of the villages of Diefenbach and Sternenfels.
The town is situated at the border of the Kraichgau and Stromberg regions, approximately 20 km from the city of Pforzheim. It is located near the UNESCO world heritage site of Maulbronn and is recognized as a showcase village that has been featured in various national and European studies and competitions.