Samotorica () is a dispersed settlement in the hills northwest of Horjul in the Inner Carniola region of Slovenia.
Samotorica was first mentioned in written records in 1340 as Zamatà ¯rnicz (and in 1489 as Samotoritz and Samatoritz). The name may be derived from the Slavic common noun *samotvorà'natural feature', referring to some striking landscape element, or perhaps from the hypothetical personal name *Samotvor.
The local church in the settlement is dedicated to Archangel Michael and belongs to the Parish of Horjul. It contains early 16th-century frescos and a painted wooden ceiling.