<P> If Loving You Is Wrong is an American primetime television soap opera, created, executive produced, written and directed by Tyler Perry . The show premiered September 9, 2014, on the Oprah Winfrey Network . If Loving You Is Wrong is loosely based on Perry's 2014 film, The Single Moms Club . </P> <Table> <Tr> <Th_colspan="2"> Season </Th> <Th_colspan="2"> Episodes </Th> <Th_colspan="2"> Originally aired </Th> </Tr> <Tr> <Th> First aired </Th> <Th> Last aired </Th> </Tr> <Tr> <Td> </Td> <Td_colspan="1"> </Td> <Td_colspan="2"> 20 </Td> <Td_colspan="1"> September 9, 2014 (2014 - 09 - 09) </Td> <Td> May 26, 2015 (2015 - 05 - 26) </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="1"> </Td> <Td_colspan="2"> 22 </Td> <Td_colspan="1"> September 22, 2015 (2015 - 09 - 22) </Td> <Td> May 24, 2016 (2016 - 05 - 24) </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="1"> </Td> <Td_colspan="2"> 22 </Td> <Td_colspan="1"> September 13, 2016 (2016 - 09 - 13) </Td> <Td> May 30, 2017 (2017 - 05 - 30) </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="1"> </Td> <Td_colspan="2"> 18 </Td> <Td_colspan="1"> September 19, 2017 (2017 - 09 - 19) </Td> <Td> TBA </Td> </Tr> </Table> <Tr> <Th_colspan="2"> Season </Th> <Th_colspan="2"> Episodes </Th> <Th_colspan="2"> Originally aired </Th> </Tr>

How many episodes are there in season 3 of if loving you is wrong