An in-vivo diagnosis of trace Mg(II) ion was performed using a low-cost and environment-friendly voltammetric method, using a graphite counter and reference electrodes and a fluorine-immobilized graphite working electrode, and clean deep seawater was used as an electrolyte solution. Under optimum conditions, the analytical working ranges attained microgram ranges, and a detection limit of 80.6ugL-1 was obtained using stripping voltammety with 60 sec accumulation time. Ex-vivo application was performed on fish liver and mice droppings. The developed techniques can be applicable to tumor cell analysis.