Rice can be cooked in an electric cooker in around 15 to 20 minutes. Parboiled rice takes 15 minutes to cook, while whole-grain and whole-grain varieties take 40 to 45 minutes.