We report an enzymatic sensor based on an organic electrochemical transistor that uses a room temperature ionic liquid as an integral part of its structure and as an immobilization medium for the enzyme and the mediator.