Says something isn't allowed
Word for word it's "if you do it, it's not OK". It's how you say something isn't allowed.
여기서 사진을 찍으면 안 돼요.yeogiseo sajineul jjigeumyeon an dwaeyo.You can't take photos here.
이 약은 술하고 같이 먹으면 안 돼요.i yageun sulhago gachi meogeumyeon an dwaeyo.You shouldn't take this medicine with alcohol.
Meaning checked against the official learner dictionary from the National Institute of Korean Language
Put it together
Build it

Situations
When to use it

1Rules and signs
Saying what is not allowed in a place.
여기서 사진을 찍으면 안 돼요.yeogiseo sajineul jjigeumyeon an dwaeyo.You can't take photos here.2Saying no to a request
The answer to 아/어도 돼요?
지금 들어가면 안 돼요.jigeum deureogamyeon an dwaeyo.You can't go in right now.3Something that must not happen
Often about yourself.
내일은 늦으면 안 돼요.naeireun neujeumyeon an dwaeyo.I can't be late tomorrow.4A gentle request
As a question, it asks for something softly.
조금만 더 있으면 안 돼요?jogeumman deo isseumyeon an dwaeyo?Can't I stay a little longer?
Common mistakes
Watch out

먹다 meokda ends in a consonant, so it takes 으면.
되어요 doeeoyo shortens to 돼요 dwaeyo, so it's spelled 돼요, not 되요.
8 real sentences
In context

- 1
여기서 사진을 찍으면 안 돼요.
Yeogiseo sajineul jjigeumyeon an dwaeyo.
You can't take photos here.
- 2
이 약은 술하고 같이 먹으면 안 돼요.
I yageun sulhago gachi meogeumyeon an dwaeyo.
You shouldn't take this medicine with alcohol.
- 3
내일은 늦으면 안 돼요.
Naeireun neujeumyeon an dwaeyo.
I can't be late tomorrow.
- 4
수업 시간에 휴대폰을 쓰면 안 돼요.
Sueop sigane hyudaeponeul sseumyeon an dwaeyo.
You can't use your phone during class.
- 5
여기에 주차하면 안 됩니다.
Yeogie juchahamyeon an doemnida.
You can't park here.
- 6
아이들은 이 영화를 보면 안 돼요.
Aideureun i yeonghwareul bomyeon an dwaeyo.
Children shouldn't watch this movie.
- 7
실수가 있으면 안 되니까 다시 확인해 주세요.
Silsuga isseumyeon an doenikka dasi hwaginhae juseyo.
There must not be any mistakes, so please check it again.
- 8
오늘 조금 일찍 가면 안 될까요?
Oneul jogeum iljjik gamyeon an doelkkayo?
Would it be all right if I left a bit early today?
6 questions
Practice

읽다 + (으)면 안 되다
(으)면 안 되다 or 지 마세요?
Both stop someone. 지 마세요 ji maseyo is a direct order: 들어가지 마세요 deureogaji maseyo, "Don't go in." (으)면 안 돼요 states the rule: 들어가면 안 돼요 deureogamyeon an dwaeyo, "You can't go in." It's about what's allowed, so it can sound less like a personal order.
(으)면 안 돼요? as a request
As a question, it can ask whether something is allowed: 이거 만지면 안 돼요? igeo manjimyeon an dwaeyo?, "Am I not allowed to touch this?" It's also a gentle way to ask for something. 조금만 더 있으면 안 돼요? jogeumman deo isseumyeon an dwaeyo? is "Can't I stay a little longer?", and 안 될까요? an doelkkayo? makes it even more polite.
"You don't have to"
"You don't have to" isn't (으)면 안 되다. It's 안 plus 아/어도 되다: 안 와도 돼요 an wado dwaeyo, "You don't have to come."
Look it up in the dictionary
The entry for 으면 안 되다 in two trusted Korean dictionaries.
