In 28 U.S.C. § 2254 and 28 U.S.C. § 2255 habeas corpus cases, the court may order the state or the government to pay the "expenses of travel and subsistence and fees of counsel" to attend the taking of a deposition at the request of the state or government.    

See Rules Governing §§ 2254 and 2255 Cases in U.S. District Courts, Rules 6.

Click here for more information about deposition costs.