But the military wing of Hamas is rejecting it, saying they will increase their attacks on Israel.
Leaders in Egypt proposed the cease-fire plan.
Officials say this cease-fire agreement would be a breakthrough in international efforts to end the latest conflict.
200 people and more than a thousand others have been injured in the fighting.