All women while in Iran are required to follow the dress codes prescribed form women in Iran. This means wearing a headscarf and not allowing the skins on your arm or legs to be shown while in public.
Travel to Iran as a Woman
There is also gender segregation of public transport. Following these laws will mean women will generally have no issues when it comes to safety.
Iranians are renowned for their hospitality and as a visitor you will be invited to many people’s houses for dinner or lunch.
This isn’t as forward as it may seem in other countries and is generally a sign of respect to the guest. There is, however, no obligation to accept such offers.