Hydraulic and mechanical drilling jar is integrate hydraulic principle with mechanical principle and applies to all kinds of drilling operations and be used through combining with drilling tools. When the downhole tools get stuck, it can generate upward jarring or downward jarring through lifting and landing drilling strings, and release block and stuck by several times jarring to recover normal drilling operation promptly.