A photocell receptacle includes a base configured to be fixedly mounted to a housing of a light fixture. The base has an opening providing access to the interior of the housing of the light fixture. The base has a base locking feature. The photocell receptacle includes a cap having a cap locking feature. The cap locking feature operably engaging the base locking feature to secure the cap to the base. The cap is variably positionable at different angular positions relative to the base. The cap has contact channels holding electrical contacts configured to be electrically connected to corresponding contacts of a photocell.