It is generally recommended to cook rice with a lid on to trap the steam and ensure even cooking. However, if you prefer your rice to be drier or have a different texture, you can cook it with the lid slightly ajar or completely off. Just keep in mind that this may affect the cooking time and result in less fluffy rice.