Clean the drain hose
Check your drain hose to make sure it is properly secured to the sink or garbage disposal. The drain hose connects the dishwasher to your garbage disposal or sink and is either located under the sink or behind the dishwasher. If it is properly connected, make sure it is cleared of food or debris. You can clean your drain hose using a drain cleaner solution or you can make your own. Baking soda and vinegar is commonly used as a natural drain cleaner and can be a great solution for weaker clogs. However, you may want to use a stronger drain cleaner for clogs that need to be dissolved right away.
Have you recently redone your kitchen plumbing? An improperly installed drain hose during a remodel is a common cause for the dishwasher not draining. Drain hoses can kink during an installation and can cause the pump to not drain. Sometimes a drain hose has a built-in check valve for one way flow and is installed backward. If the dishwasher was self installed, make sure to follow the recommendation to replace the drain hose. An old drain hose can build up drain sentiments and restricts flow.