**Exhibit 31.2**

**CERTIFICATION PURSUANT TO RULE 13a-14(a)OF THE SECURITIES EXCHANGE ACT OF 1934, AS AMENDEDAS ADOPTED PURSUANT TO SECTION 302 OF THE SARBANES-OXLEY ACT OF 2002**

I, John F. Hamilton, certify that:

1.     Ihave reviewed this Quarterly Report of Depomed, Inc.;

2.     Basedon my knowledge, this report does not contain any untrue statement of amaterial fact or omit to state a material fact necessary to make the statementsmade, in light of the circumstances under which such statements were made, notmisleading with respect to the period covered by this report;

3.     Basedon my knowledge, the financial statements, and other financial informationincluded in this report, fairly present in all material respects the financialcondition, results of operations and cash flows of the registrant as of, andfor, the periods presented in this report;

4.     Theregistrant’s other certifying officer(s) and I are responsible for establishingand maintaining disclosure controls and procedures (as defined in Exchange ActRules 13a-15(e) and 15d-15(e)) and internal control over financialreporting (as defined in Exchange Act Rules 13a-15(f) and 15d-15(f))for the registrant and have:

(a)       designed such disclosurecontrols and procedures, or caused such disclosure controls and procedures tobe designed under our supervision, to ensure that material information relatingto the registrant, including its consolidated subsidiaries, is made known to usby others within those entities, particularly during the period in which thisreport is being prepared;

(b)       designed such internalcontrol over financial reporting, or caused such internal control overfinancial reporting to be designed under our supervision, to provide reasonableassurance regarding the reliability of financial reporting and the preparationof financial statements for external purposes in accordance with generallyaccepted accounting principles;

(c)       evaluated the effectivenessof the registrant’s disclosure controls and procedures and presented in thisreport our conclusions about the effectiveness of the disclosure controls andprocedures, as of the end of the period covered by this report based on suchevaluation; and

(d)       disclosed in this reportany change in the registrant’s internal control over financial reporting thatoccurred during the registrant’s most recent fiscal quarter (the registrant’sfourth fiscal quarter in the case of an annual report) that has materiallyaffected, or is reasonably likely to materially affect, the registrant’sinternal control over financial reporting; and

5.     Theregistrant’s other certifying officers and I have disclosed, based on our mostrecent evaluation of internal control over financial reporting, to theregistrant’s auditors and the audit committee of the registrant’s board of directors(or persons performing the equivalent function):

(a)       all significantdeficiencies and material weaknesses in the design or operation of internalcontrol over financial reporting which are reasonably likely to adverselyaffect the registrant’s ability to record, process, summarize and reportfinancial information; and

(b)       any fraud, whether or notmaterial, that involves management or other employees who have a significantrole in the registrant’s internal control over financial reporting.
| August 7, 2007 |   |                    |   |   |
|----------------|--------|-------------------------|--------|--------|
|           |   |                    |   |   |
|           | By:    | /s/ John F. Hamilton    |   |   |
|           |   | John F. Hamilton        |   |
|           |   | Chief Financial Officer |   |

 

----